ViewOutput : scroll back and search [long] output of vim command
| script karma
Downloaded by 1536
Comments, bugs, improvements
script versions (upload new version)
|If you want to scroll backward (and forward) and search within long output of the vim command (such as :au, :let), execute command with prefix VO.
VO (viewoutput) will place output of vim command in new buffer where you can search and view it using vim commands. Example:
|Drop viewoutput.vim into your ~/.vim/plugin directory.
To change the command that creates the preview window (the default is "new"),
you can edit definition of g:viewoutput_newbuffer variable at the beginning of
let g:viewoutput_newbuffer="5new" | " create preview window 5 lines high
let g:viewoutput_newbuffer="bot 5new" | " bottom preview window 5 lines high
Click on the package to download.
ip used for rating: 220.127.116.11
||Fixed bug with 'VO map' (silent map produced output without newlines). Saving output to register rather than tempfile. Improvements thanks to Antony Scriven and Charles Campbell. Config variable g:viewoutput_newbuffer added.