From c8ac3d8a06977a474adee54e2a9ab98ec858c590 Mon Sep 17 00:00:00 2001 From: Rawley Fowler <75388349+rawleyfowler@users.noreply.github.com> Date: Sun, 26 Jun 2022 15:02:53 -0600 Subject: [PATCH] Create .vimrc --- openbsd/home/.vimrc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 openbsd/home/.vimrc 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