diff --git a/nvim/init.vim b/nvim/init.vim index e4c22de5..914ec57b 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -26,7 +26,7 @@ Plug 'itchyny/lightline.vim' call plug#end() "Toggle NerdTree with Ctrl + l -nmap :NERDTreeToggle +nmap :NERDTreeToggle " Start NERDTree. If a file is specified, move the cursor to its window. autocmd StdinReadPre * let s:std_in=1 @@ -81,13 +81,19 @@ let g:mkdp_auto_close = 0 " Create Default Mappings for NerdCommenter let g:NERDCreateDefaultMappings = 1 -" Toggle NERDCommenter with Ctrl + z +" Toggle NERDCommenter with Ctrl + c :map NERDCommenterToggle "Toggle Multi-Cursor with j or k nmap nmap +" Use ctrl- [hjkl] to select the active split! +nmap :wincmd k +nmap :wincmd j +nmap :wincmd h +nmap :wincmd l + " Only lightline shows on bottom status board set noshowmode