nvim: after/ftplugin: C: Fix quickr cscope mappings
These seem to not work with nnoremap for some reason.
This commit is contained in:
parent
525d73373d
commit
e3df9adf91
1 changed files with 11 additions and 11 deletions
|
@ -7,17 +7,17 @@ nnoremap <buffer> <LocalLeader>ct :AsyncDo ctags -R --fields=+nS --excmd=number
|
||||||
nnoremap <buffer> <LocalLeader>cu :AsyncDo cscope -bqR<CR>
|
nnoremap <buffer> <LocalLeader>cu :AsyncDo cscope -bqR<CR>
|
||||||
nnoremap <buffer> <LocalLeader>cr :cs reset<CR>
|
nnoremap <buffer> <LocalLeader>cr :cs reset<CR>
|
||||||
|
|
||||||
nnoremap <buffer> <silent> <LocalLeader>s <Plug>(quickr_cscope_symbols)
|
nmap <buffer> <silent> <LocalLeader>s <Plug>(quickr_cscope_symbols)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>g <Plug>(quickr_cscope_global)
|
nmap <buffer> <silent> <LocalLeader>g <Plug>(quickr_cscope_global)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>h <Plug>(quickr_cscope_global_split)
|
nmap <buffer> <silent> <LocalLeader>h <Plug>(quickr_cscope_global_split)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>v <Plug>(quickr_cscope_global_vert_split)
|
nmap <buffer> <silent> <LocalLeader>v <Plug>(quickr_cscope_global_vert_split)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>d <Plug>(quickr_cscope_functions)
|
nmap <buffer> <silent> <LocalLeader>d <Plug>(quickr_cscope_functions)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>c <Plug>(quickr_cscope_callers)
|
nmap <buffer> <silent> <LocalLeader>c <Plug>(quickr_cscope_callers)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>t <Plug>(quickr_cscope_text)
|
nmap <buffer> <silent> <LocalLeader>t <Plug>(quickr_cscope_text)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>e <Plug>(quickr_cscope_egrep)
|
nmap <buffer> <silent> <LocalLeader>e <Plug>(quickr_cscope_egrep)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>f <Plug>(quickr_cscope_files)
|
nmap <buffer> <silent> <LocalLeader>f <Plug>(quickr_cscope_files)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>i <Plug>(quickr_cscope_includes)
|
nmap <buffer> <silent> <LocalLeader>i <Plug>(quickr_cscope_includes)
|
||||||
nnoremap <buffer> <silent> <LocalLeader>a <Plug>(quickr_cscope_assignments)
|
nmap <buffer> <silent> <LocalLeader>a <Plug>(quickr_cscope_assignments)
|
||||||
|
|
||||||
" If we are working with any of the gstreamer projects in C, run gst-ident
|
" If we are working with any of the gstreamer projects in C, run gst-ident
|
||||||
" before saving. Assume gst-ident from gstreamer/tools/gst-indent has been
|
" before saving. Assume gst-ident from gstreamer/tools/gst-indent has been
|
||||||
|
|
Loading…
Reference in a new issue