www.socialtext.net will be down for scheduled maintenance today Sat July 31st starting at 6:00pm PDT (Sun August 1st 1:00am UTC). Estimated downtime is 20 minutes, please contact support@socialtext.com with any questions.
vi
hidevi (or vim, what most people seem to be using nowadays) is an open-source, multi-platform text editor. It is installed by default on nearly all *nix flavour operating systems, so it pays to know at least a few basic commands. All clones support the vi basic set of commands, but add features and/or a graphical user interface.
If you master vi (or vim/gvim/elvis), you master a powerful tool for developing software.
Those who prefer vim/gvim:
Those who prefer elvis:
Helpful vim plugin:
- "perl-support" written by Fritz Mehner see http://vim.sourceforge.net/scripts/script.php?script_id=556
Perl Best Practices .perltidyrc: (You are using perltidy, aren't you?)
Tricks for the Perl developers
- Pressing K while on a keyword will bring up perldoc
autocmd FileType perl :noremap K :!perldoc <cword> <bar><bar> perldoc -f <cword><cr>
- See also http://www.perlmonks.org/?node_id=434793
- See also http://mamchenkov.net/wordpress/2004/05/10/vim-for-perl-developers/