From 299a5c21b1d28f923bb75289ef8eb9d2a21b74cf Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 22 Apr 2020 20:08:20 +0000 Subject: [PATCH] vim: Use more verbose names in config --- home/.vimrc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/home/.vimrc b/home/.vimrc index 1eb181d..474a9aa 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -1,4 +1,4 @@ -" require vim +" Require vim set nocompatible " Plugins @@ -18,7 +18,7 @@ Plug 'posva/vim-vue', { 'for': 'vue' } Plug 'altercation/vim-colors-solarized' call plug#end() -" statusline +" Powerline if !has('nvim') silent! python3 from powerline.vim import setup as powerline_setup silent! python3 powerline_setup() @@ -26,41 +26,41 @@ if !has('nvim') set laststatus=2 " always show powerline endif -" line numbers +" Basic display set number -" show line after 80 chars set colorcolumn=80 -" solarized theme +" Solarized theme set background=dark colorscheme solarized -" persistent undo +" Persistent undo set undofile set undodir=$HOME/.vim/undo set undolevels=4096 set undoreload=16384 -" highlight and ignore case at search -set hls ic +" Search +set hlsearch +set ignorecase -" Autoload settings from file bottom +" Autoload settings from file set modeline " Highlight trailing spaces and spaces before tabs highlight ExtraWhitespace ctermbg=red guibg=red autocmd BufWinEnter * match ExtraWhitespace /\s\+$\| \+\ze\t/ -" tab settings -set ai +" Tab settings +set autoindent -" jump to the last position +" Jump to the last position if has("autocmd") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") \| exe "normal! g`\"" | endif endif - +" Set gvim font if has("gui_running") set guifont=Terminess\ Powerline endif