wip
This commit is contained in:
parent
cf66847051
commit
21a4716da8
23
compat-linux/config/vim/vimrc
Normal file
23
compat-linux/config/vim/vimrc
Normal file
@ -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' <bar> edit!
|
Loading…
Reference in New Issue
Block a user