Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Vim Settings for Perl

by Smylers (Pilgrim)
on Mar 23, 2005 at 11:01 UTC ( #441738=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    filetype plugin on
    
  2. or download this
    filetype indent on " per-filetype config
    set tabstop=8
    ...
    set shiftwidth=4 " or 2 or whatever
    set shiftround
    set autoindent
    
  3. or download this
    setlocal isfname+=:
    
  4. or download this
    nnoremap <buffer> <silent> _c :w<Enter>:!perl -wc %<Enter>
    
  5. or download this
    nnoremap <buffer> <silent> _f :perldoc -f <cword><Enter>
    
  6. or download this
    nnoremap <buffer> <silent> _m :perldoc <cword><Enter>
    
  7. or download this
    nnoremap <buffer> <silent> _t :%!perltidy -q<Enter>
    vnoremap <buffer> <silent> _t :!perltidy -q<Enter>
    
  8. or download this
    let $PAGER = 'less'
    let $LESS = 'dQFe'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://441738]
help
Chatterbox?
[choroba]: command line FTW!
[marto]: good morning all, sane dots all round
[Corion]: Hi marto! I hope all is well!

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-12-07 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.