From 24f1273ed7fb6fd49c7290a0b40f0af7545cb470 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Thu, 13 Dec 2018 07:40:13 -0800 Subject: [PATCH] Use nnoremap instead of nmap --- .config/nvim/init.vim | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 209d831..fd240ad 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -149,18 +149,18 @@ endfunction " Shortcuts " Plugins -nmap :NERDTreeToggle -nmap . :TagbarToggle +nnoremap :NERDTreeToggle +nnoremap . :TagbarToggle " Tabs -nmap tt :tabnew -nmap tn :tabnext -nmap tp :tabprevious -nmap tc :tabclose -nmap tm :tabmove +nnoremap tt :tabnew +nnoremap tn :tabnext +nnoremap tp :tabprevious +nnoremap tc :tabclose +nnoremap tm :tabmove " Misc -nmap h :noh +nnoremap h :noh nnoremap :call Fullscreen() function Fullscreen() @@ -193,10 +193,10 @@ endfunction " Plugin configuration " The Silver Searcher -nmap s :Ags +nnoremap s :Ags " FZF -nmap :FZF! +nnoremap :FZF! " NERD Commenter let g:NERDSpaceDelims = 1