tlib#input#List() lets users select one are many items from a list. In
this demonstration, we select two files from a list of about 500
filenames.
We use the :Tragfile command, which is sets the initial filter to
"parts" of the current file's basename. The current document is called
"post_tlib.txt". Since no file matches "post_tlib", the initial list is
empty. We remove that filter to see the whole list by typing <C-BS>.
1. Find: Filter_cnf.vim (from tlib_vim)
Type: Fi cnf.<CR>
Or: Fi<ALT-4>
2. Find: vikitasks.vim (from vikitasks_vim)
Type: vikit<CR>
Or: task<ALT-2>
Besides the "cnf" filter used in this demonstration, tlib also supports
fuzzy matching (as seen on TV).
Useful video, thanks for sharing.
ReplyDeleteMay I ask which colorscheme you was using in the video?
A variation on darkocean:
Deletehttps://github.com/tomtom/vimtlib/blob/master/colors/tmlDarkOcean.vim
Thanks, I like it.
DeleteThe tmlDarkOcean color vim is now here: https://github.com/tomtom/vimtlib/tree/c18291e0ccabd2dd08c4dc1bc19335d54952780d/colors
ReplyDelete