dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

redir.vim (337B)


      1 " Usage:
      2 "   :Redir hi ............. show the full output of command ':hi' in a scratch window
      3 "   :Redir !ls -al ........ show the full output of command ':!ls -al' in a scratch window
      4 
      5 if exists("g:loaded_redir") || &cp
      6   finish
      7 endif
      8 let g:loaded_redir = 1
      9 
     10 command! -nargs=1 -complete=command Redir silent call redir#Redir(<f-args>)