X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=d645f7886099e255a938c7aca18cb6180237aeff;hb=f4db0c7419d7e352b0ec2fbe9c2d454e5ed99aed;hp=ebd0d6a94c7af8b728c61bbdd92f4ce05aad00da;hpb=d28495f157ce749d456fc494e9f70b0544ac3eec;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index ebd0d6a..d645f78 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -1,4 +1,4 @@ -:let mapleader = "-" +:let mapleader = "," :let maplocalleader = "\\" set nocompatible " be iMproved, required @@ -23,7 +23,6 @@ Plugin 'LaTeX-Box-Team/LaTeX-Box' Plugin 'hynek/vim-python-pep8-indent' Plugin 'vim-scripts/octave.vim--' Plugin 'vim-scripts/MatlabFilesEdition' -Plugin 'flazz/vim-colorschemes' Plugin 'tmhedberg/SimpylFold' Plugin 'saltstack/salt-vim' Plugin 'fatih/vim-go' @@ -31,9 +30,9 @@ Plugin 'gu-fan/riv.vim' Plugin 'lepture/vim-jinja' Plugin 'aklt/plantuml-syntax' Plugin 'vim-python/python-syntax' -Plugin 'luochen1990/rainbow' Plugin 'majutsushi/tagbar' Plugin 'heavenshell/vim-pydocstring' +Plugin 'altercation/vim-colors-solarized' " All of your Plugins must be added before the following line call vundle#end() " required @@ -44,8 +43,10 @@ set backupdir=$HOME/.vim/backup// " Random look and feel stuff syntax on -set background=dark -colorscheme molokai +set background=light +colorscheme solarized +let g:solarized_termtrans = 1 + set expandtab set shiftwidth=4 set softtabstop=4 @@ -54,7 +55,7 @@ set relativenumber set number let g:html_indent_inctags = "html,body,head,tbody" -let g:indentLine_color_term = 200 +let g:indentLine_color_term = 5 " syntastic set statusline+=%#warningmsg# @@ -67,7 +68,8 @@ let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 1 let g:syntastic_javascript_checkers = ['eslint'] let g:syntastic_python_python_exec = '/usr/bin/python3' -let g:syntastic_python_checkers = ['python3 -m pylint --error-only'] +let g:syntastic_python_checkers = ['pylint'] +let g:syntastic_python_pylint_args = '-E' let g:syntastic_aggregate_errors = 1 " Syntastic C++11 @@ -97,7 +99,7 @@ let g:LatexBox_viewer = "mupdf" let g:clang_user_options='|| exit0' " Color 80th column -highlight ColorColumn ctermbg=0 +highlight ColorColumn ctermbg=7 let &colorcolumn="80,".join(range(100,999),",") " Octave Syntax @@ -145,11 +147,14 @@ autocmd FileType python setlocal foldmethod=indent foldnestmax=2 " Paren highlighting hi MatchParen cterm=underline ctermbg=none ctermfg=none -" Rainbow parens -let g:rainbow_active = 1 - " Activate tagbar with F8 nmap :TagbarToggle " Set path to doq let g:pydocstring_doq_path= "/home/max/.local/bin/doq" + + +" Bindings +" Clipboard +noremap y "+y +noremap p "+p