" pathogen execute pathogen#infect() " settings set nocompatible set nu set noet set showcmd set autoindent set smartindent set cursorline set nocp set showmatch set foldenable set foldmethod=indent set foldlevelstart=4 set foldnestmax=10 set completeopt=longest,menuone set tabstop=2 set softtabstop=2 set shiftwidth=2 set expandtab set ruler set ttyfast set mouse=r set bs=2 set ignorecase set smartcase set laststatus=2 set incsearch set hlsearch set ttyfast set lazyredraw set wildmenu if v:version >= 703 set cc=80 endif syntax on filetype plugin indent on autocmd FileType cpp set complete-=i " spelling setlocal spell spelllang=en_us set nospell " color if $TERM =~ "^rxvt" || $TERM =~ "256color$" set t_Co=256 colorscheme pks256 else colorscheme default endif " bindings nmap :tabnew nmap :tabprevious nmap :tabnext map map map map inoremap :wa nnoremap :w nmap :TagbarToggle " cursorline " autocmd InsertEnter * setlocal cursorline " autocmd InsertLeave * setlocal nocursorline " airline let g:airline_theme = 'pks256' let g:airline_powerline_fonts = 1 let g:airline#extensions#branch#enabled = 1 let g:airline_symbols = {} let g:airline_symbols.whitespace = 'Ξ' " tagbar let g:tagbar_compact = 1 " vimwiki let g:vimwiki_list = [{'path':'~/wiki'}]