vim: Move NERDTree config after leader key setting

This commit is contained in:
Oliver Davies 2021-05-05 23:54:51 +01:00
parent 28cb119443
commit de45efa883

View file

@ -48,13 +48,21 @@ filetype plugin on
colorscheme nord
" Nerdtree
let g:NERDTreeShowHidden=1
let g:NERDTreeWinPos = "right"
nnoremap <leader>ne :NERDTreeToggle<CR>
" Remaps
let mapleader = " "
nnoremap <leader>pv :Vex<CR>
nnoremap <Leader>so :so ~/.config/nvim/init.vim<CR>
nnoremap <C-p> :GFiles<CR>
" Ctrl+C should write the file
map <C-s> <esc>:w<CR>
imap <C-s> <esc>:w<CR>
" Nerdtree
let g:NERDTreeShowHidden=1
let g:NERDTreeWinPos = "right"
nnoremap <leader>ne :NERDTreeToggle<CR>
let g:NERDTreeShowHidden=1
let g:NERDTreeWinPos = "right"
nnoremap <leader>ne :NERDTreeToggle<CR>