Vim 7 tabs

30 Jan

(Used in GVim 7)

"add to .vimrc
"tab mappings for firefox-like tabs
map  :tabn 
map  :tabp 
map  :tabnew 
map  :tabclose 

augroup filetype
        au!
        au! BufRead,BufNewFile *.phc    set filetype=php
        au! BufRead,BufNewFile *.mine   set filetype=mine
        au! BufRead,BufNewFile *.xyz    set filetype=drawing
        au! BufRead,BufNewFile *.pl    set filetype=perl
        au! BufRead,BufNewFile *.pm    set filetype=perl
augroup  END
syntax on

set tabstop=4
set expandtab
set title

colo koehler
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: