syntax on
"enable syntax highlighting
set background=dark "use colors that look good on a dark background. http://vimdoc.sourceforge.net/htmldoc/options.html#'bg'
set expandtab "Use the appropriate number of spaces to insert a <Tab>. http://vimdoc.sourceforge.net/htmldoc/options.html#'expandtab'
set shiftwidth=4 "Number of spaces to use for each step of (auto)indent. http://vimdoc.sourceforge.net/htmldoc/options.html#'shiftwidth'
set softtabstop=4 "Number of spaces that a <Tab> counts for; http://vimdoc.sourceforge.net/htmldoc/options.html#%27sts%27
set visualbell "Use visual bell instead of beeping. http://vimdoc.sourceforge.net/htmldoc/options.html#'vb'
set incsearch "While typing a search command, show where the pattern, as it was typed so far, matches.
set hlsearch "Enable search highlighting
set ignorecase "Ignore case when searching.
set smartcase "Automatically switch search to case-sensitive when search query contains an uppercase letter.
set linebreak "Avoid wrapping a line in the middle of a word.
set wildmenu "Display command line’s tab complete options as a menu.
set laststatus=2 "Always display the status bar.
set ruler "Always show cursor position.
set autoread "Automatically re-read files if unmodified inside Vim.
set history=1000 "Increase the undo limit.
set spell "Enable spellchecking
"see https://vim.fandom.com/wiki/Example_vimrc and
" https://www.shortcutfoo.com/blog/top-50-vim-configuration-options/