Create .vimrc

This commit is contained in:
Rawley Fowler 2022-06-26 15:02:53 -06:00 committed by GitHub
parent 306cd34fae
commit c8ac3d8a06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
openbsd/home/.vimrc Normal file
View 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