diff --git a/rc/vimrc b/rc/vimrc index 690ca9a8..3057274e 100644 --- a/rc/vimrc +++ b/rc/vimrc @@ -4,24 +4,24 @@ set nocompatible " Show syntax colours syntax on -set showcmd " Show (partial) command in status line. +set showcmd " Show (partial) command in status line. set showmatch " Show matching brackets. set ignorecase " Do case insensitive matching set smartcase " Do smart case matching "set incsearch " Incremental search set autowrite " Automatically save before commands like :next and :make -set hidden " Hide buffers when they are abandoned +set hidden " Hide buffers when they are abandoned "set mouse=a " Enable mouse usage (all modes) " Source a global configuration file if available if filereadable("/etc/vim/vimrc.local") - source /etc/vim/vimrc.local + source /etc/vim/vimrc.local endif -set number " Show line numbers. +set number " Show line numbers. -set ruler " Show the line and column number of the cursor position, - " separated by a comma. +set ruler " Show the line and column number of the cursor position, + " separated by a comma. set background=dark @@ -54,7 +54,7 @@ set visualbell " gvim has light background "if has('gui_running') -" set background=light +" set background=light "endif " Show hidden characters via @@ -69,7 +69,7 @@ set encoding=utf-8 set fileencoding=utf-8 " Remove BOMs. They broke things yesterday and now they wasted my time -" at school! +" at school! " via https://techwelkin.com/how-to-remove-byte-order-mark-bom-characters set nobomb