set nocompatible number cursorline expandtab hlsearch visualbell tabstop=2 shiftwidth=2
syntax on
" Stops odd issues like using arrow keys in insert mode will send key sequences that are misinterpreted by vi
" Turn on line numbers
" Highlight the current line
" Convert tabs to spaces
" Highlight all search matches
" Stop Vim from beeping at you when you make a mistake
" Set tab size in spaces (this is for manual indenting)
" The number of spaces inserted for a tab (used for auto indenting)
" Enable basic syntax highlighting
create-vimrc.bash
# You can also do the following:
echo set nocompatible number cursorline expandtab hlsearch visualbell tabstop=2 shiftwidth=2 >> ~/.vimrc
echo syntax on >> ~/.vimrc