summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2023-07-01 12:28:14 -0500
committerBobby Bingham <koorogi@koorogi.info>2023-07-01 12:28:14 -0500
commit180845d5c4603d615c7d272faecfa4b6e340b0da (patch)
tree463c25d0c41129f481f03a80571d2d5fdf9627b9 /vim/.vimrc
parent86e3d37c8d0698f39a9cf2d46b1719aa7a527ac7 (diff)
vim: delete in favor of neovim
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc65
1 files changed, 0 insertions, 65 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
deleted file mode 100644
index 9b58a2e..0000000
--- a/vim/.vimrc
+++ /dev/null
@@ -1,65 +0,0 @@
-" in case there were any doubt about this being classic vi
-set nocompatible
-
-" load bundles under ~/.vim/bundle/*
-execute pathogen#infect()
-
-" utf8. always utf8.
-set fileencoding=utf8
-set fileencodings=utf8
-
-" these seem reasonable
-filetype plugin on
-set tabstop=4
-set softtabstop=4
-set shiftwidth=4
-
-" display of whitespace characters
-set showbreak=\ ↪
-set list listchars=tab:»\ ,space:∙,nbsp:•,extends:>,precedes:<
-
-" display list of options when performing tab completion
-set wildmenu
-
-" color settings
-set background=dark
-let g:gruvbox_contrast_dark='hard'
-let g:airline_theme='cool'
-colorscheme gruvbox
-syntax on
-
-" remove trailing whitespace when saving
-function StripTrailingWhitespace()
- if !&binary && &filetype != 'diff'
- normal mz
- normal Hmy
- %s/\s\+$//e
- normal 'yz<CR>
- normal `z
- endif
-endfunction
-
-autocmd BufWritePre * :call StripTrailingWhitespace()
-
-" display absolute line number for current line, relative offsets for other lines
-set number relativenumber
-
-" ===== BUNDLE CONFIGURATION =====
-
-" ctrlp.vim:
-let g:ctrlp_map='<c-p>' "display fuzzy buffer search on ^P
-
-" tabular:
-" align equals on 'a=', comma on 'a,'
-nnoremap a= :Tabularize /=<cr>
-nnoremap a, :Tabularize /,/r0l1<cr>
-
-" airline
-set laststatus=2 " display status line even with no splits
-let g:netrw_dirhistmax=0 " without this, it likes to create ~/.vim/.netrwhist
-
-" nerdtree:
-nnoremap <F9> :NERDTreeToggle<cr>
-
-" tagbar
-nnoremap <F12> :TagbarToggle<cr>