Vim Hacking – 1 – vis
Vim is a really amazing text editor (though I’d like to learn Emacs too soon… :-)) and it can be easily expanded to be even more useful. One super cool extension I found is: vis -- it allows powerful sed-like line modification (you could use sed from inside vim, but that’s not really “handy”). Vis is a vim plugin, and as such, it has to be installed before use, here is how to do this (asuming you have vim 7.0+):
echo 'read some about the plugin at: http://vim.sourceforge.net/scripts/script.php?script_id=1195'
vim /home/script/location/vis.vba
:source %
With this done you can doo stuff like in this video i did:
Watch it on youtube to see useful annotations! If your still new to vim you might want to start with simple editing as shown here: http://www.youtube.com/watch?v=71YTkxUNwmg&NR=1


Post a reply