nvim: Use Leader prefix for Neomake commands

Starting a command with 'n' resulted in a poor usage experience for
jumping to 'next' match of a search. Prefix all these commands with
Leader.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-02-10 09:23:40 +05:30
parent d259c571bb
commit ea87db710f

View file

@ -282,15 +282,15 @@ nnoremap <Leader>ph :GitGutterPreviewHunk<CR>
nnoremap <Leader>qh :GitGutterQuickFix<CR> nnoremap <Leader>qh :GitGutterQuickFix<CR>
nnoremap <Leader>fh :GitGutterFold<CR> nnoremap <Leader>fh :GitGutterFold<CR>
" For Neomake/Neoformat " For Neomake/Neoformat
nnoremap nm :Neomake<CR> nnoremap <Leader>nm :Neomake<CR>
nnoremap nc :NeomakeClean<CR> nnoremap <Leader>nc :NeomakeClean<CR>
nnoremap ns :NeomakeSh<SPACE> nnoremap <Leader>ns :NeomakeSh<SPACE>
nnoremap njl :NeomakeListJobs<CR> nnoremap <Leader>njl :NeomakeListJobs<CR>
nnoremap nja :NeomakeCancelJobs<CR> nnoremap <Leader>nja :NeomakeCancelJobs<CR>
nnoremap njc :NeomakeCancelJob<SPACE> nnoremap <Leader>njc :NeomakeCancelJob<SPACE>
nnoremap nf :Neoformat<CR> nnoremap <Leader>nf :Neoformat<CR>
nnoremap ne :NeomakeEnable<CR> nnoremap <Leader>ne :NeomakeEnable<CR>
nnoremap nd :NeomakeDisable<CR> nnoremap <Leader>nd :NeomakeDisable<CR>
" For workspace " For workspace
nnoremap <Leader>ws :ToggleWorkspace<CR> nnoremap <Leader>ws :ToggleWorkspace<CR>
" Quickfix & Location list mappings " Quickfix & Location list mappings