add starting lvim conifgs

This commit is contained in:
Daylin Morgan 2022-01-24 00:03:41 -06:00
parent 4058921f72
commit d5bfe7f152
3 changed files with 81 additions and 14 deletions

View file

@ -1,37 +1,39 @@
require("keybindings")
require("plugins")
-- general
lvim.log.level = "warn"
lvim.format_on_save = true
lvim.colorscheme = "dracula"
lvim.leader = "space"
-- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
lvim.builtin.dashboard.active = true
lvim.builtin.notify.active = true
lvim.builtin.terminal.active = true
lvim.builtin.nvimtree.setup.view.side = "left"
lvim.builtin.nvimtree.show_icons.git = 0
-- if you don't want all the parsers change this to a table of the ones you want
lvim.builtin.treesitter.ensure_installed = {
"bash",
"javascript",
"json",
"lua",
"python",
"typescript",
"css",
"rust",
"yaml",
"go"
}
lvim.builtin.treesitter.ignore_install = { "haskell" }
lvim.builtin.treesitter.highlight.enabled = true
lvim.plugins = {
{"dracula/vim",
as = "dracula"},
{"snakemake/snakemake",
rtp="misc/vim",
ft = {"Snakefile","snk"}
}
}
-- settings
local opt = vim.opt
opt.timeoutlen = 500
-- colorscheme
lvim.builtin.lualine.options.theme = "dracula"
lvim.colorscheme = "dracula"

View file

@ -6,8 +6,10 @@ function map(mode, keys, action, options)
vim.api.nvim_set_keymap(mode,keys,action,options)
end
map('i','jk','<Esc>',{noremap=true})
map('v','jk','<Esc>',{noremap=true})
-- keymappings [view all the defaults by pressing <leader>Lk]
-- lvim.leader = "space"
-- add your own keymapping
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"

View file

@ -0,0 +1,63 @@
-- extra plugins
lvim.plugins = {
{ 'Mofiqul/dracula.nvim' },
{ 'ggandor/lightspeed.nvim' }
}
-- default plugins settings
-- make telescope respect that hidden files exist
lvim.builtin.telescope.pickers = { find_files = { hidden = true }}
lvim.builtin.nvimtree.setup.git.ignore = false
lvim.builtin.dashboard.custom_header = {
[[ _______________________________________ ]],
[[ |,---"-----------------------------"---,| ]],
[[ ||___ 16 bit.................... || ]],
[[ ||====\ :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]],
[[ ||=====):H c> lvim H || ]],
[[ ||====/ :H ╦ ╦ ╦╔╗╔╔═╗╦═╗╦ ╦╦╔╦╗ H || ]],
[[ || :H ║ ║ ║║║║╠═╣╠╦╝╚╗╔╝║║║║ H || ]],
[[ ||PORTFO:H ╩═╝╚═╝╝╚╝╩ ╩╩╚═ ╚╝ ╩╩ ╩ H || ]],
[[ || :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]],
[[ ||_____,_________________________,_____|| ]],
[[ |)_____)-----.| /I\ATARI |.------(_____(| ]],
[[ //"""""""|_____|=----------=|______|"""""""\ ]],
[[ // _| _| _| _| _| _| _| _| _| _| _| _| _| _| \ ]],
[[ // ___| _| _| _| _| _| _| _| _| _| _| _| | | \ ]],
[[ |/ ___| _| _| _| _| _| _| _| _| _| _| _| ______| \ ]],
[[ / __| _| _| _| _| _| _| _| _| _| _| _| _| _| ___| \ ]],
[[ / _| _| _| _| ________________________| _| _| _| _| \ ]],
[[|------"--------------------------------------"-------|]],
[[`-----------------------------------------------------']],
}
-- simpler header
--[[
]]--
--[[
_______________________________________
|,---"-----------------------------"---,|
||___ 16 bit.................... ||
||====\ :HHHHHHHHHHHHHHHHHHHHHHHHHHH ||
||=====):H c> lvim H ||
||====/ :H H ||
|| :H H ||
||PORTFO:H H ||
|| :HHHHHHHHHHHHHHHHHHHHHHHHHHH ||
||_____,_________________________,_____||
|)_____)-----.| /I\ATARI |.------(_____(|
//"""""""|_____|=----------=|______|"""""""\
// _| _| _| _| _| _| _| _| _| _| _| _| _| _| \
// ___| _| _| _| _| _| _| _| _| _| _| _| | | \
|/ ___| _| _| _| _| _| _| _| _| _| _| _| ______| \
/ __| _| _| _| _| _| _| _| _| _| _| _| _| _| ___| \
/ _| _| _| _| ________________________| _| _| _| _| \
|------"--------------------------------------"-------|
`-----------------------------------------------------'
]] --