1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | call pathogen#infect()
call pathogen#helptags()
set nocompatible
filetype off
"behave mswin
colorscheme fi
set background=dark
set laststatus=2
set statusline=
"set statusline+=%-3.3n\ " buffer number
"set statusline+=%f\ " file name
"set statusline+=%h%m%r%w " flags
"set statusline+=\[%{strlen(&ft)?&ft:'none'}, " filetype
set statusline+=%{&encoding}, " encoding
set statusline+=%{&fileformat}] " file format
"set statusline+=%= " right align
"set statusline+=0x%-8B\ " current char
set statusline+=%-14.(%l,%c%V%)\ %<%P " offset
"autocmd vimenter * NERDTree
set autochdir
let NERDTreeChDirMode=2
map <F3> <ESC>:NERDTreeToggle<RETURN>
nnoremap <silent> <F4> :TlistToggle<CR>
let Tlist_Use_Right_Window = 1
let Tlist_Inc_Winwidth = 0
let Tlist_Ctags_Cmd = "/usr/bin/ctags"
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
set backspace=indent,eol,start
set clipboard+=unnamed
set directory=~/.vim/tmp
set fileformats=unix,dos,mac
set mouse=a
"set cursorcolumn " highlight the current column
set cursorline " highlight current line
hi CursorLine ctermbg=Red guibg=#771c1c
set incsearch " BUT do highlight as you type yousearch phrase
set number
set showmatch
set ignorecase
set foldenable
syntax on
filetype plugin indent on
set tabstop=4
set softtabstop=4
set shiftwidth=4
set cinoptions=>4
set expandtab
set autoindent
set smartindent
"let g:miniBufExplMapWindowNavVim = 1
"let g:miniBufExplMapWindowNavArrows = 1
"let g:miniBufExplMapCTabSwitchBufs = 1
"let g:miniBufExplModSelTarget = 1
"let clipboard+=unnamed " yank and copy to X clipboard
"set showtabline=10
":noremap <C-left> :bprev<CR>
":noremap <C-right> :bnext<CR>
noremap <f1> :bprev<CR>
noremap <f2> :bnext<CR>
nmap <C-left> :tabn<CR>
nmap <C-right> :tabp<CR>
let g:buftabs_only_basename=1
"set laststatus=2
let g:buftabs_in_statusli
|
x