" supetuxs ~/.vimrc " vim rc file for vim ver. Gentoo-7.1.319 " color schemes"{{{ colorscheme default syntax on "}}} " encoding"{{{ set fileencoding=utf-8 "}}} " typesetting setting"{{{ map :set number! imap :set number!a set pastetoggle= set number "enable numbering by default filetype indent on filetype plugin on "}}} " mappings for tabbing"{{{ map :tabnext map :tabprevious map :tabnew map :tn map :qall hi TabLineSel ctermbg=Red hi StatusLine ctermfg=Red hi StatusLine ctermbg=White hi StatusLineNC ctermbg=Cyan hi StatusLineNC ctermfg=black "}}} " Session managment "{{{ " taken from http://notvincenz.blogspot.com/2007/03/vim-sessions.html set sessionoptions=blank,buffers,curdir,folds,help,resize,tabpages,winsize map :mksession! ~/.vim/session map :source ~/.vim/session "}}} " Visual Cues"{{{ set showmatch " show matching brackets set mat=5 " how many tenths of a second to blink matching brackets for set incsearch " do highlight as you type you search phrase set laststatus=2 " always show the status line "}}} " Text Formatting/Layout"{{{ set fo=tcrqn " See Help (complex) set ai " autoindent set cindent " do c-style indenting set ts=4 " tab stop set sw=4 " shiftwidth (indention size) "}}} " Miscellaneous options (gentoo-spec, folding, window resizing) "{{{ set modeline let g:bugsummary_browser="opera -newpage '%s'" helptags ~/.vim/doc set completeopt=menuone " for a better command completion set wildmenu " show partial command set showcmd " folds a section map :foldc " enable disable fold map :set foldenable! " resizing window " Shift-Left == Decrease current window width map < " Shift-Right == Increase current window width map > " Shift-Up == Increase current window hight map + " Shift-Down == Decrease current window hight map - "}}} " vim: set foldmethod=marker :