Sha256: b4e0a5a0e300be8ea2bbaf5b22e9bcf2400128e48a142515832873d52172121c
Contents?: true
Size: 590 Bytes
Versions: 10
Compression:
Stored size: 590 Bytes
Contents
" This function prints the list of open files " Usage: " vim --servername "<server>" --remote-expr "watchtower#ls()" " Make sure the function is loaded only once if exists("loaded_watchtower_ls_function") finish endif let loaded_watchtower_ls_function = 1 " Provided by Marcin Szamotulski <mszamot@gmail.com> " Modified by Wael Nasreddine <wael.nasreddine@gmail.com> " http://groups.google.com/group/vim_use/msg/3dfb796c366b2e50 function! watchtower#ls() let list=[] for i in range(1, bufnr('$')) call add(list, fnamemodify(bufname(i), ':p')) endfor return list endfunction
Version data entries
10 entries across 10 versions & 1 rubygems