> I'm want to do the same with buffers in vim script. tlib's[1] tlib#input#List() function does the same in vim script. In conjunction with tselectfiles[2] it provides a similar features as command-t -- from what I can tell.
IMHO the main question is whether you want to call the function synchronously (in this case your will probably have to read the characters with getchar() in a loop) or asynchronously (in this case you could also use buffer local maps and map all unwanted keys to something that doesn't do anything at all). Regards, Tom [1] http://www.vim.org/scripts/script.php?script_id=1863 http://github.com/tomtom/tlib_vim [2] http://www.vim.org/scripts/script.php?script_id=1865 http://github.com/tomtom/tselectfiles_vim -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
