m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 17:13:42 -05:00

Updated Examples (vim) (markdown)

Junegunn Choi
2015-08-09 23:00:40 +09:00
parent 876a1aa653
commit 05330d697c

@@ -101,9 +101,6 @@ command! -bar Tags if !empty(tagfiles()) | call fzf#run({
This version better handles same tags across different files. This version better handles same tags across different files.
```vim ```vim
" ----------------------------------------------------------------------------
" Tags
" ----------------------------------------------------------------------------
function! s:tags_sink(line) function! s:tags_sink(line)
let parts = split(a:line, '\t\zs') let parts = split(a:line, '\t\zs')
let excmd = matchstr(parts[2:], '^.*\ze;"\t') let excmd = matchstr(parts[2:], '^.*\ze;"\t')
@@ -135,9 +132,6 @@ command! Tags call s:tags()
### Jump to tags in the current buffer ### Jump to tags in the current buffer
```vim ```vim
" ----------------------------------------------------------------------------
" BTags
" ----------------------------------------------------------------------------
function! s:align_lists(lists) function! s:align_lists(lists)
let maxes = {} let maxes = {}
for list in a:lists for list in a:lists