" 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=4 set softtabstop=4 set shiftwidth=4 set expandtab set smarttab set ruler set ttyfast set mouse=v set bs=2 set ignorecase set smartcase set laststatus=2 set incsearch set hlsearch set lazyredraw set ttyfast set wildmenu let g:netrw_banner = 0 let g:netrw_liststyle = 3 let g:netrw_browse_split = 4 let g:netrw_altv = 1 let g:netrw_winsize = 16 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 spellfile=$HOME/.vim/spell/en.utf-8.add set nospell " color if $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 imap ^L [s1z=`]a " cursorline autocmd InsertEnter * setlocal cursorline autocmd InsertLeave * setlocal nocursorline " lightline let g:lightline = { \ 'colorscheme': 'landscape', \ } " tagbar let g:tagbar_compact = 1 " vimwiki let g:vimwiki_list = [{'path':'~/.sync/sync/wiki'}] " semantic highlighting let s:semanticGUIColors = [ '#72d572', '#c5e1a5', '#e6ee9c', '#fff59d', '#ffe082', '#ffcc80', '#ffab91', '#bcaaa4', '#b0bec5', '#ffa726', '#ff8a65', '#f9bdbb', '#f9bdbb', '#f8bbd0', '#e1bee7', '#d1c4e9', '#ffe0b2', '#c5cae9', '#d0d9ff', '#b3e5fc', '#b2ebf2', '#b2dfdb', '#a3e9a4', '#dcedc8' , '#f0f4c3', '#ffb74d' ]