" pathogen execute pathogen#infect() " settings set nocompatible set nu set noet set showcmd set autoindent set smartindent "set cursorline set nocp set showmatch set foldmethod=indent set completeopt=longest,menuone set tabstop=2 set shiftwidth=2 set expandtab set ruler set ttyfast set mouse=r set bs=2 set ignorecase set smartcase set laststatus=2 set ttyfast set lazyredraw 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'}]