[DFW.pm] Not only was Patrick right, but Vim backs him up...

Matt Musgrove MMusgrove at efji.com
Thu Feb 21 15:47:18 PST 2013

I messed up  my vim config today after I upgraded from 7.0 to 7.3. :(
I'll let you know what I use after I've fixed it. :)

From: Dfw-pm [mailto:dfw-pm-bounces+mmusgrove=efji.com at pm.org] On Behalf Of Tommy Butler
Sent: Thursday, February 21, 2013 5:31 PM
To: dfw-pm at pm.org
Subject: Re: [DFW.pm] Not only was Patrick right, but Vim backs him up...

That's great, thanks for the tip Matt!

What does your .vimrc look like?  I always like to see what goodies there are to be found in the .vimrc files of fellow Perl hackers :-D

Mine looks like this:
:set nocompatible
:syntax enable
:set bg=dark
:set ts=3
:set sw=3
:set ic
:set ai
:set si
:set expandtab
:set modeline
:set ruler
:set showmatch
:set number
:set nohlsearch
:autocmd BufWritePre * :%s/\s\+$//e
:nnoremap <F5> :set invpaste paste?<CR>
:set pastetoggle=<F5>
:filetype plugin indent on
:set foldmethod=syntax
:let perl_fold = 1
":set cursorline << that can get annoying
":set cursorcolumn << and that too
" vim: set ft=vim :
--Tommy Butler

On 02/21/2013 12:37 PM, Matt Musgrove wrote:
I typically use TODO and BUG (something I added to my vim installation). You can add it to yours easily enough. Edit ~/.vim/syntax/perl.vim and add the following lines in the appropriate sections:
syn match perlBug                       "\<\(BUG\)\:\?\>" contained
syn match  perlComment              "#.*" contains=perlTodo,perlBug
  HiLink perlBug            ErrorMsg

[cid:image001.png at 01CE105A.DBDA7030]

Newer versions of vim-perl also support NOTE.

This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain confidential information. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, distribution, review, copy or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20130221/604295af/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2430 bytes
Desc: image001.png
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20130221/604295af/attachment-0001.png>

More information about the Dfw-pm mailing list