diff options
Diffstat (limited to 'nvim/init.vim')
| -rw-r--r-- | nvim/init.vim | 14 |
1 files changed, 14 insertions, 0 deletions
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 <A-1> :source $MYVIMRC \| :PlugInstall<Cr> 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 <C-Bslash> :NvimTreeToggle<CR> + vunmap <C-/> + vmap <C-/> :call NERDComment('x', 'toggle')<CR> + nnoremap <C-/> :call nerdcommenter#Comment('x', 'toggle')<CR> +endif |
