Tools: December 2007 Archives
The new say function isn't supported by the perl.vim file that ships with vim. Nick Hibma, the maintainer, tells me it will be updated in the next version of vim. In the meantime, you can hack your local vim files by adding the following line to your ~/.vim/syntax/perl.vim file:
syn keyword perlStatementFiledesc
\ binmode close closedir eof fileno getc
\ lstat print printf readdir readline readpipe rewinddir
\ say select stat tell telldir write
\ nextgroup=perlFiledescStatementNocomma skipwhite
Even if you haven't upgraded to Perl 5.10, you can use Jim Keenan's Perl6::Say module to add the say function.
dotfiles.org is a site that collects dotfiles for various shells and editors. If you've ever read someone else's .bashrc and said "Oh, THAT'S a cool trick", this is the site for you. If you haven't, now's the time to start. If you don't know what a dotfile is, or haven't modified the dotfile for your editor and shell, now is definitely the time to start.
Popular dotfiles include:
- .vimrc
- .screenrc
- .zshrc
- .bashrc
- .irbrc
- .Xdefaults
- .conkyrc
- .bash_profile
- .xinitrc
- .emacs
I've only put my .vimrc up on my personal wiki, but I can see I'll need to put it up here as well.