Create .vimrc
This commit is contained in:
parent
306cd34fae
commit
c8ac3d8a06
1 changed files with 22 additions and 0 deletions
22
openbsd/home/.vimrc
Normal file
22
openbsd/home/.vimrc
Normal file
|
@ -0,0 +1,22 @@
|
|||
" Set 'nocompatible' to ward off unexpected things that your distro might
|
||||
" have made, as well as sanely reset options when re-sourcing .vimrc
|
||||
set nocompatible
|
||||
|
||||
" Attempt to determine the type of a file based on its name and possibly its
|
||||
" contents. Use this to allow intelligent auto-indenting for each filetype,
|
||||
" and for plugins that are filetype specific.
|
||||
if has('filetype')
|
||||
filetype indent plugin on
|
||||
endif
|
||||
|
||||
" Enable syntax highlighting
|
||||
if has('syntax')
|
||||
syntax on
|
||||
endif
|
||||
|
||||
set number
|
||||
set hidden
|
||||
set showcmd
|
||||
set hlsearch
|
||||
set visualbell
|
||||
set cmdheight=1
|
Loading…
Reference in a new issue