]> git.zndr.dk Git - dotfiles.git/commitdiff
Cleanup vimrc
authorJannik ZANDER <jzander@grundfos.com>
Mon, 25 Jun 2018 08:18:24 +0000 (10:18 +0200)
committerJannik ZANDER <jzander@grundfos.com>
Mon, 25 Jun 2018 08:18:24 +0000 (10:18 +0200)
.vim/vimrc

index a72f2c00a7efdfe8c8640d296ce6809e1b848602..507f5f0eae97e264197e0e13da3b33f01d62b13d 100644 (file)
@@ -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 = '<c-p>'
-let g:ctrlp_cmd = 'CtrlP'
-let g:ctrlp_working_path_mode = 'ra'
+"let g:ctrlp_map = '<c-p>'
+"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 <C-j>    <C-W><C-J>
 nnoremap <C-k>    <C-W><C-K>
 nnoremap <C-l>    <C-W><C-L>
 
-" Maps leader-[h,j,k,l] to windows split navigations
-"nnoremap <leader>h    <C-W><C-H>
-"nnoremap <leader>j    <C-W><C-J>
-"nnoremap <leader>k    <C-W><C-K>
-"nnoremap <leader>l    <C-W><C-L>
 "
-"" Maps Ctrl-[h,j,k,l] to resizing a window split
-"nnoremap <C-H>  <C-W><
-"nnoremap <C-J>  <C-W>-
-"nnoremap <C-K>  <C-W>+
-"nnoremap <C-L>  <C-W>>
-
-"exit insert mode
-inoremap jj           <esc>
-inoremap j<space>     j
+" Maps Ctrl-[h,j,k,l] to resizing a window split
+nnoremap <C-H>  <C-W><
+nnoremap <C-J>  <C-W>-
+nnoremap <C-K>  <C-W>+
+nnoremap <C-L>  <C-W>>
+
 " folding
 noremap <space> za
 " In the quickfix window, <CR> 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