diff --git a/home/private_dot_config/lvim/config.lua b/home/private_dot_config/lvim/config.lua index d1dccb9..9b9c7fd 100644 --- a/home/private_dot_config/lvim/config.lua +++ b/home/private_dot_config/lvim/config.lua @@ -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" + + diff --git a/home/private_dot_config/lvim/lua/keybindings.lua b/home/private_dot_config/lvim/lua/keybindings.lua index 4b5e426..b329cf0 100644 --- a/home/private_dot_config/lvim/lua/keybindings.lua +++ b/home/private_dot_config/lvim/lua/keybindings.lua @@ -6,8 +6,10 @@ function map(mode, keys, action, options) vim.api.nvim_set_keymap(mode,keys,action,options) end - - - map('i','jk','',{noremap=true}) map('v','jk','',{noremap=true}) + +-- keymappings [view all the defaults by pressing Lk] +-- lvim.leader = "space" +-- add your own keymapping +lvim.keys.normal_mode[""] = ":w" diff --git a/home/private_dot_config/lvim/lua/plugins.lua b/home/private_dot_config/lvim/lua/plugins.lua new file mode 100644 index 0000000..f03504d --- /dev/null +++ b/home/private_dot_config/lvim/lua/plugins.lua @@ -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 |.------(_____(| + //"""""""|_____|=----------=|______|"""""""\ + // _| _| _| _| _| _| _| _| _| _| _| _| _| _| \ + // ___| _| _| _| _| _| _| _| _| _| _| _| | | \ + |/ ___| _| _| _| _| _| _| _| _| _| _| _| ______| \ + / __| _| _| _| _| _| _| _| _| _| _| _| _| _| ___| \ + / _| _| _| _| ________________________| _| _| _| _| \ +|------"--------------------------------------"-------| +`-----------------------------------------------------' +]] --