From 8e262292585fd0eb031738ac05eee4a1bdd91e84 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Fri, 16 Aug 2024 20:41:26 -0500 Subject: Updates --- nvim/init.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'nvim/init.vim') diff --git a/nvim/init.vim b/nvim/init.vim index 69fe338..4957a6e 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -77,6 +77,9 @@ Plug 'kamwitsta/mythos' Plug 'softmotions/vim-dark-frost-theme' Plug 'ghifarit53/tokyonight-vim' +"Icons, requires a nerd font +Plug 'ryanoasis/vim-devicons' + " Terraform "Plug 'hashivim/vim-terraform' call plug#end() @@ -237,3 +240,14 @@ noremap :source $MYVIMRC \| :PlugInstall filetype plugin indent on syntax enable + +"Unmap a bunch of stuff set by lunarvim +if has_key(environ(), "LUNARVIM_BASE_DIR") + lua lvim.builtin.which_key.mappings.e = nil + lua lvim.lsp.buffer_mappings.normal_mode.K = nil + let $MYVIMRC=$LUNARVIM_BASE_DIR . "\\vimrc.vim" + nmap :NvimTreeToggle + vunmap + vmap :call NERDComment('x', 'toggle') + nnoremap :call nerdcommenter#Comment('x', 'toggle') +endif -- cgit v1.2.3-70-g09d2