mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-02-28 20:42:28 +08:00
normal! zz on BTags and Tags
This commit is contained in:
@@ -337,6 +337,7 @@ function! s:btags_sink(lines)
|
|||||||
execute 'silent' cmd '%'
|
execute 'silent' cmd '%'
|
||||||
endif
|
endif
|
||||||
execute split(a:lines[1], "\t")[2]
|
execute split(a:lines[1], "\t")[2]
|
||||||
|
normal! zz
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:btags(bang)
|
function! s:btags(bang)
|
||||||
@@ -366,6 +367,7 @@ function! s:tags_sink(lines)
|
|||||||
let [magic, &magic] = [&magic, 0]
|
let [magic, &magic] = [&magic, 0]
|
||||||
execute excmd
|
execute excmd
|
||||||
let &magic = magic
|
let &magic = magic
|
||||||
|
normal! zz
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:tags(bang)
|
function! s:tags(bang)
|
||||||
|
|||||||
Reference in New Issue
Block a user