Browse Source

feat(nvim): 增加 ctrl+n/p 翻文件支持

dzp 3 years ago
parent
commit
aafb36d796
1 changed files with 3 additions and 0 deletions
  1. 3 0
      init.vim

+ 3 - 0
init.vim

@@ -69,3 +69,6 @@ nmap <silent> M :MRU<CR>
 nnoremap <silent> ,M M
 autocmd BufEnter __MRU_Files__ nnoremap <buffer><silent> M :q<CR>
 autocmd BufEnter -RecentFiles- nnoremap <buffer><silent> M :q<CR>
+
+nmap <C-N> gt
+nmap <C-P> gT