This is an example of what my vim configuration file(.vimrc) looks like:

syntax on

set ruler                           " show ruler
set expandtab                       " tabs are spaces
set smarttab                        "
set shiftwidth=4                    "
set tabstop=4                       " show tab as 4 spaces
set number                          " show line numbers
set showcmd                         " show command in bottom bar right
set showmode                        " show current mode down the bottom
set nowrap                          " dont wrap lines
set backspace=indent,eol,start      " enable backspace
set showmatch                       " highlight matching[{()}]
set smartcase                       " smart cases matching
set hlsearch                        " highlight search
set mouse=a                         " enable mouse

Last Updated: April 24, 2022