[SP-pm] Padre x EPIC (era: IDE EPIC)

Luis Motta Campos luismottacampos at yahoo.co.uk
Wed Nov 25 05:49:52 PST 2009


> From: Daniel de Oliveira Mantovani <daniel.oliveira.mantovani em gmail.com>
> Sent: Tue, 24 November, 2009 18:55:56
> 
> Champs, você pode mostrar seu arquivo de configuração do vim ?

syntax on
colorscheme desert
set background=dark
set tabstop=4
set shiftwidth=4
set expandtab
" Shows trailing whitespace and real tabs
set listchars=tab:>~,trail:_
set list
" Perl Regexp on Searches
command -nargs=1 -range S <line2>,<line2>perldo s<args>
" Incremental Searches on
set incsearch
" see :help statusline
set statusline=%<[%n]\ %F\ %m%r%y%=\ [%b\|0x%B]\ \%-14.(%l,%c%V%)\ %P

" Runs perltidy, and goes back to current line before filtering.
function! Perltidy()
    let current_line = line('.')
    let perltidy     = 'perltidy'
    execute ":0,$!" . perltidy
    execute ":" . current_line
endfunction

" Maps Perl tidy to ",t"
map ,t :call Perltidy()<Cr>

 
Putamplexos
--
Luis Motta Campos is a software engineer,
Perl junkie, foodie and amateur photographer.


      


More information about the SaoPaulo-pm mailing list