set nocompatible " be iMproved, required filetype off " required " 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') " Plugins! " Plugin 'VundleVim/Vundle.vim' Plugin 'tpope/vim-fugitive' Plugin 'git://git.wincent.com/command-t.git' Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} Plugin 'mattn/emmet-vim' Plugin 'tpope/vim-surround' Plugin 'scrooloose/syntastic' Plugin 'kien/rainbow_parentheses.vim' Plugin 'flazz/vim-colorschemes' Plugin 'morhetz/gruvbox' Plugin 'xuhdev/vim-latex-live-preview' Plugin 'JuliaLang/julia-vim' Plugin 'lervag/vimtex' Plugin 'PotatoesMaster/i3-vim-syntax' Plugin 'w0ng/vim-hybrid' Plugin 'StanAngeloff/php.vim' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required " To ignore plugin indent changes, instead use: "filetype plugin on " " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate " :PluginSearch foo - searches for foo; append `!` to refresh local cache " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal " " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line " When you want to paste large blocks of code into vim, press F2 before you " paste. At the bottom you should see ``-- INSERT (paste) --``. set pastetoggle= set clipboard=unnamed noremap :nohl vnoremap :nohl inoremap :nohl " easier moving of code blocks " Try to go into visual mode (v), thenselect several lines of code here and " then press ``>`` several times. vnoremap < >gv " better indentation set updatetime=1000 " disable swap files set nobackup set noswapfile map j map k map l map h " indent file map gg=G " fold close map vat :fold set tabstop=2 set softtabstop=2 set shiftwidth=2 set shiftround set expandtab " search settings set hlsearch set ignorecase set smartcase set complete+=kspell " main color scheme let g:gruvbox_italic=1 let g:gruvbox_termcolors=16 colorscheme gruvbox " line numbers set number set relativenumber " nerd tree nnoremap f :NERDTreeToggle let NERDTreeQuitOnOpen = 1 let NERDTreeAutoDeleteBuffer = 1 let NERDTreeMinimalUI = 1 let NERDTreeDirArrows = 1 " vim-flake8 " let g:flake8_show_in_gutter = 1 " nerd commenter filetype plugin on nmap z NERDCommenterToggle vmap z NERDCommenterToggle " you complete me let g:ycm_add_preview_to_completeopt=0 let g:ycm_confirm_extra_conf=0 set completeopt-=preview set cursorline " syntastic " set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%* set smartindent let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 let g:syntastic_enable_signs = 1 let g:syntastic_aggregate_errors = 1 let g:syntastic_error_symbol = "X" let g:syntastic_style_error_symbol = ">" let g:syntastic_warning_symbol = "!" let g:syntastic_style_warning_symbol = ">" let g:syntastic_cpp_compiler = "g++" let g:syntastic_cpp_checkers = ['gcc'] let g:syntastic_cpp_check_header = 1 let g:syntastic_cpp_no_include_search = 1 let g:syntastic_cpp_compiler_options = " -std=c++11" let g:syntastic_javascript_checkers = ['jshint'] let g:syntastic_coffeescript_checkers = ["coffeelint"] let g:syntastic_markdown_checkers = ['mdl'] let g:syntastic_css_checkers = ["csslint", "prettycss"] let g:syntastic_python_checkers = ["flake8", "python"] let g:syntastic_html_checkers = ['validator'] let g:livepreview_previewer = 'evince' let g:html_indent_inctags = "html,body,head,tbody" " RAINBOOOOOOOOOOOOOOOOOOOOOWS au VimEnter * RainbowParenthesesToggle au Syntax * RainbowParenthesesLoadRound au Syntax * RainbowParenthesesLoadSquare au Syntax * RainbowParenthesesLoadBraces " Background transparency hi CursorLine ctermbg=none cterm=bold,underline guibg=White30 hi Normal ctermbg=none highlight NonText ctermbg=none highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE