[DFW.pm] Not only was Patrick right, but Vim backs him up...
Tommy Butler
dfwpm at internetalias.net
Sun Feb 24 11:21:18 PST 2013
Excellent! There's yet another gem. Thanks for sharing that, Stuart.
This has turned out to be a very nice thread indeed with lots of great
material. Anybody else what to share there vim or (*gasp*) emacs configs?
--
Tommy Butler
On 02/23/2013 09:33 PM, Stuart Johnston wrote:
> Damian Conway's Vim config is detailed and well documented:
>
> https://github.com/thoughtstream/Damian-Conway-s-Vim-Setup
>
>
> 2/21/2013 5:30 PM, Tommy Butler wrote:
>> 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
>>>
>>> Newer versions of vim-perl also support NOTE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20130224/19c350b0/attachment.html>
More information about the Dfw-pm
mailing list