Use nnoremap instead of nmap
This commit is contained in:
parent
92702dee8f
commit
24f1273ed7
@ -149,18 +149,18 @@ endfunction
|
|||||||
|
|
||||||
" Shortcuts
|
" Shortcuts
|
||||||
" Plugins
|
" Plugins
|
||||||
nmap <C-\> :NERDTreeToggle<CR>
|
nnoremap <C-\> :NERDTreeToggle<CR>
|
||||||
nmap <leader>. :TagbarToggle<CR>
|
nnoremap <leader>. :TagbarToggle<CR>
|
||||||
|
|
||||||
" Tabs
|
" Tabs
|
||||||
nmap <leader>tt :tabnew<CR>
|
nnoremap <leader>tt :tabnew<CR>
|
||||||
nmap <leader>tn :tabnext<CR>
|
nnoremap <leader>tn :tabnext<CR>
|
||||||
nmap <leader>tp :tabprevious<CR>
|
nnoremap <leader>tp :tabprevious<CR>
|
||||||
nmap <leader>tc :tabclose<CR>
|
nnoremap <leader>tc :tabclose<CR>
|
||||||
nmap <leader>tm :tabmove<CR>
|
nnoremap <leader>tm :tabmove<CR>
|
||||||
|
|
||||||
" Misc
|
" Misc
|
||||||
nmap <leader>h :noh<CR>
|
nnoremap <leader>h :noh<CR>
|
||||||
nnoremap <leader><space> :call Fullscreen()<CR>
|
nnoremap <leader><space> :call Fullscreen()<CR>
|
||||||
|
|
||||||
function Fullscreen()
|
function Fullscreen()
|
||||||
@ -193,10 +193,10 @@ endfunction
|
|||||||
" Plugin configuration
|
" Plugin configuration
|
||||||
|
|
||||||
" The Silver Searcher
|
" The Silver Searcher
|
||||||
nmap <leader>s :Ags<space>
|
nnoremap <leader>s :Ags<space>
|
||||||
|
|
||||||
" FZF
|
" FZF
|
||||||
nmap <C-p> :FZF!<CR>
|
nnoremap <C-p> :FZF!<CR>
|
||||||
|
|
||||||
" NERD Commenter
|
" NERD Commenter
|
||||||
let g:NERDSpaceDelims = 1
|
let g:NERDSpaceDelims = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user