From 3ad796156583f3464ad29ac110110f59e8b6f6a6 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Mon, 25 Jun 2018 10:18:24 +0200 Subject: [PATCH] Cleanup vimrc --- .vim/vimrc | 72 +++++++++--------------------------------------------- 1 file changed, 11 insertions(+), 61 deletions(-) diff --git a/.vim/vimrc b/.vim/vimrc index a72f2c0..507f5f0 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -6,41 +6,6 @@ set directory=~/.local/share/vim/swap set backupdir=~/.local/share/vim/backup set undodir=~/.local/share/vim/undo set viminfo+=n~/.local/share/vim/viminfo -"set runtimepath+=~/.cache/vim - -" section: plugins {{{1 -" --------------------- -"silent call plug#begin('~/.cache/vim/bundle') -"Plug 'easymotion/vim-easymotion' -"Plug 'tpope/vim-surround' -"Plug 'tpope/vim-commentary' -"Plug 'michaeljsmith/vim-indent-object' -"Plug 'tpope/vim-unimpaired' -"Plug 'tpope/vim-dispatch' -"Plug 'tpope/vim-repeat' -"Plug 'tpope/vim-fugitive' -"Plug 'tpope/vim-vinager' -"Plug 'scrooloose/syntastic' -"Plug 'vim-airline/vim-airline' -"Plug 'airblade/vim-gitgutter' -"Plug 'majutsushi/tagbar' -"Plug 'fholgado/minibufexpl.vim' -"Plug 'brookhong/cscope.vim' -"Plug 'ctrlpvim/ctrlp.vim' -"Plug 'brandonbloom/csearch.vim' -"Plug 'mileszs/ack.vim' -"Plug 'jeetsukumaran/vim-filesearch' -"Plug 'haya14busa/incsearch.vim' -"Plug 'altercation/vim-colors-solarized' -"Plug 'editorconfig/editorconfig-vim' -"Plug 'johnsyweb/vim-makeshift' -"Plug 'tfnico/vim-gradle' -"Plug 'a.vim' -"Plug 'heaths/vim-msbuild' -"Plug 'hdima/python-syntax' -"Plug 'klen/python-mode' -"Plug 'jalcine/cmake.vim' -"call plug#end() " section: options {{{1 " --------------------- @@ -122,16 +87,16 @@ set errorformat=%f(%l)\ :\ %m "hi link pythonDefStatement Statement -let g:syntastic_quiet_messages = { "type": "style" } +"let g:syntastic_quiet_messages = { "type": "style" } " plugin settings {{{1 let g:netrw_liststyle=3 let g:netrw_banner = 0 let g:netrw_sort_sequence = '[\/]$,*' -let g:ctrlp_map = '' -let g:ctrlp_cmd = 'CtrlP' -let g:ctrlp_working_path_mode = 'ra' +"let g:ctrlp_map = '' +"let g:ctrlp_cmd = 'CtrlP' +"let g:ctrlp_working_path_mode = 'ra' "let g:markdown_fenced_languages = ['html', 'python', 'bash=sh'] "let g:markdown_syntax_conceal = 0 @@ -288,21 +253,13 @@ nnoremap nnoremap nnoremap -" Maps leader-[h,j,k,l] to windows split navigations -"nnoremap h -"nnoremap j -"nnoremap k -"nnoremap l " -"" Maps Ctrl-[h,j,k,l] to resizing a window split -"nnoremap < -"nnoremap - -"nnoremap + -"nnoremap > - -"exit insert mode -inoremap jj -inoremap j j +" Maps Ctrl-[h,j,k,l] to resizing a window split +nnoremap < +nnoremap - +nnoremap + +nnoremap > + " folding noremap za " In the quickfix window, is used to jump to the error under the @@ -338,16 +295,9 @@ if (&t_Co > 2 || has("gui_running")) && has("syntax") else syntax on endif - set list -" if !exists('g:colors_name') -" silent! colorscheme solarized -" endif endif -"colorscheme solarized -"let g:solarized_diffmode="high" -"let g:solarized_termtrans=1 -"let g:solarized_menu=0 +"colorscheme dark default highlight Normal guibg=black guifg=white set background=dark set t_Co=256 -- 2.43.0