runtime! debian.vim runtime! defaults.vim set nocompatible filetype off " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' Plugin 'tpope/vim-fugitive' "Plugin 'kien/ctrlp.vim' "Plugin 'bling/vim-airline' Plugin 'airblade/vim-gitgutter' "Plugin 'majutsushi/tagbar' "Plugin 'Valloric/YouCompleteMe' "Plugin 'rdnetto/YCM-Generator' Plugin 'ntpeters/vim-better-whitespace' Plugin 'chriskempson/base16-vim' "Plugin 'vim-airline/vim-airline-themes' "Plugin 'jiangmiao/auto-pairs' Plugin 'jamessan/vim-gnupg' " All of your Plugins must be added before the following line call vundle#end() " required syntax on filetype plugin indent on set number set title set cursorline set noshowmode set mouse=a set tabstop=8 set softtabstop=8 set shiftwidth=8 set noexpandtab set background=dark " colorscheme solarized let base16colorspace=256 colorscheme base16-solarflare " Key Bindings let mapleader="-" nmap :TagbarToggle nnoremap :if &modifiable && !&readonly && &modified :write :endif:bnext nnoremap :if &modifiable && !&readonly && &modified :write :endif:bprevious nnoremap s :call SolarizedToggle() " 80 characters line set colorcolumn=81 highlight ColorColumn ctermbg=black highlight OverLength ctermbg=black ctermfg=darkred highlight ExtraWhitespace ctermbg=DarkRed autocmd BufRead * EnableWhitespace let g:airline_theme='solarized' " let g:airline_powerline_fonts = 1 let g:airline#extensions#tabline#enabled = 1 let g:airline#parts#ffenc#skip_expected_string='utf-8[unix]' let g:airline#extensions#whitespace#mixed_indent_algo = 2 let g:ycm_collect_identifiers_from_tags_files = 1 let g:ycm_seed_identifiers_with_syntax = 1 let g:ycm_extra_conf_globlist = ['~/mimir/*'] "highlight YcmErrorSection ctermbg=DarkRed ctermfg=Black let g:ycm_filetype_blacklist = { \ 'tagbar': 1, \ 'notes': 1, \ 'markdown': 1, \ 'netrw': 1, \ 'unite': 1, \ 'text': 1, \ 'vimwiki': 1, \ 'pandoc': 1, \ 'infolog': 1, \ 'mail': 1, \ 'rst' : 1 \} set completeopt-=preview function! SolarizedToggle() if &background == 'dark' set background=light else set background=dark endif endfunction " Powerline python3 from powerline.vim import setup as powerline_setup python3 powerline_setup() python3 del powerline_setup set laststatus=2 set showtabline=2