" ....... " " PLUGINS " " ''''''' " execute pathogen#infect() let g:local_vimrc=".vimrc_local.vim" let python_highlight_all = 1 let g:vim_markdown_folding_disabled=1 let g:swap_custom_ops = ['and', 'or'] nmap :SyntasticCheck set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%* let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 0 let g:syntastic_check_on_open = 0 let g:syntastic_check_on_wq = 0 let g:syntastic_mode_map = { \ "mode": "active", \ "active_filetypes": ["bash"], \ "passive_filetypes": ["python"] } let g:gitgutter_sign_added = '✚' let g:gitgutter_sign_modified = '❱' let g:gitgutter_sign_removed = '❌' let g:gitgutter_sign_removed_first_line = '^' let g:gitgutter_sign_modified_removed = '❰' let g:airline_theme = 'zenburn' " ..................... " " PROGRAM / ENVIRONMENT " " ''''''''''''''''''''' " set clipboard=unnamed set encoding=utf-8 set fileencodings=ucs-bom,utf-8,cp1250,latin1 set history=500 " swap settings " if isdirectory($HOME . '/.local/share/vim') == 0 :silent !mkdir -p ~/.vim/swap >/dev/null 2>&1 endif set directory=./.vim-swap// set directory+=~/.local/share/vim/swap// set directory+=~/tmp// set directory+=. " ............ " " UI - GENERAL " " '''''''''''' " set t_vb= noremap :set list! set pastetoggle= nmap :set invnumber if has('mouse') set mouse=a endif if !exists(":DiffOrig") command DiffOrig vert new \ | set bt=nofile \ | r ++edit # \ | 0d_ \ | diffthis \ | wincmd p \ | diffthis endif " ............ " " UI - EDITING " " '''''''''''' " set autoindent set backspace=indent,eol,start set expandtab set incsearch set shiftwidth=4 set tabstop=4 inoremap inoremap noremap p p`[ noremap P P`[ if has("autocmd") filetype plugin indent on augroup vimrcEx au! autocmd FileType text setlocal textwidth=78 autocmd BufNewFile,BufReadPost *.md set filetype=markdown autocmd BufNewFile,BufReadPost *TESTOUT.log* set filetype=beakerlib autocmd BufReadPost * \ if line("'\"") > 1 && line("'\"") <= line("$") | \ exe "normal! g`\"" | \ endif augroup END else set autoindent endif " .......... " " UI - LOOKS " " '''''''''' " set list set list listchars=tab:→\ ,trail:·,precedes:← set ruler set showcmd set nowrap if &t_Co > 2 || has("gui_running") syntax on set hlsearch endif colorscheme delek " colorscheme 1989 hi Folded ctermbg=NONE "set gfn=Droid\ Sans\ Mono\ 9 set number highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE highlight MatchParen cterm=bold ctermfg=NONE ctermbg=black highlight Search term=NONE cterm=NONE ctermfg=NONE ctermbg=235 "DarkGreen if &term =~ "xterm\\|rxvt" silent !echo -ne "\033]12;gray75\007" let &t_SI = "\]12;gray25\x7" let &t_EI = "\]12;gray75\x7" autocmd VimLeave * let &t_me="\]12;white\x7" endif