Utilize fzf tag jump too
* ctg -> create tags * gd -> classic ctags jump * tg -> fzf tags jump with list
This commit is contained in:
parent
77a5eb5742
commit
3adeb5e04e
@ -15,10 +15,12 @@ call CmdAlias('hasktags', '!hasktags -c .<CR>')
|
|||||||
call CmdAlias('codex', 'call system("haskell-ctags")<CR><CR>call LoadHscope()<CR>')
|
call CmdAlias('codex', 'call system("haskell-ctags")<CR><CR>call LoadHscope()<CR>')
|
||||||
|
|
||||||
|
|
||||||
map <leader>tg :codex<CR>
|
map <leader>ctg :codex<CR>
|
||||||
set tags=tags;/,codex.tags;/
|
set tags=tags;/,codex.tags;/
|
||||||
|
|
||||||
|
" classic ctags jump
|
||||||
nnoremap <leader>gd <C-]>
|
nnoremap <leader>gd <C-]>
|
||||||
|
|
||||||
nnoremap <silent> <leader>cgd :cs find g <C-R>=expand("<cword>")<CR><CR>
|
nnoremap <silent> <leader>cgd :cs find g <C-R>=expand("<cword>")<CR><CR>
|
||||||
nnoremap <silent> <C-\> :cs find c <C-R>=expand("<cword>")<CR><CR>
|
nnoremap <silent> <C-\> :cs find c <C-R>=expand("<cword>")<CR><CR>
|
||||||
|
|
||||||
|
@ -153,3 +153,7 @@ inoremap <C-V> <C-O>:call Paste("i")<CR>
|
|||||||
" select all
|
" select all
|
||||||
nnoremap <C-A> ggVG<CR>
|
nnoremap <C-A> ggVG<CR>
|
||||||
inoremap <C-A> <C-O>:call Select()<CR>
|
inoremap <C-A> <C-O>:call Select()<CR>
|
||||||
|
|
||||||
|
" fzf
|
||||||
|
nnoremap <leader>tg :call fzf#vim#tags(expand('<cword>'), {'options': '--exact --select-1 --exit-0'})<CR>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user