Kiffin Gish wrote: > I can view all of the current key bindings by using <esc>:map<CR>. > > How can I save this output to a file? > > How can I generate a similar list of all available key binds, e.g. those > not used with ^C ? > :help redir
If you want to prune the list with a regular expression, then you'll need to do two operations: * redir (to a file, variable, etc) * prune the output The pruning can be done in various ways; here's two suggestions: * use :g/pattern/d (or :v/pattern/d) -- if operating on a file * use :redir => varname, convert the variable's contents to a List, prune the List. Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
