diff --git a/openbsd/home/.vimrc b/openbsd/home/.vimrc new file mode 100644 index 0000000..8516d39 --- /dev/null +++ b/openbsd/home/.vimrc @@ -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