diff --git a/compat-linux/config/vim/vimrc b/compat-linux/config/vim/vimrc new file mode 100644 index 0000000..8df869c --- /dev/null +++ b/compat-linux/config/vim/vimrc @@ -0,0 +1,23 @@ +" Don't try to be vi compatible +set nocompatible + +" Show matching brackets when text indicator is over them +set showmatch + +" Turn on syntax highlighting +syntax on + +" Highlight search results +set hlsearch + +" Search while typing +set incsearch + +" Show line numbers +set number + +" Show file stats +set ruler + +" W - Save file as superuser +command! W execute 'w !sudo tee % > /dev/null' edit!