"Changes added below as shown in video Vim (18) "Map key to comma let mapleader = ',' "Map F3 to toggle on and off the line numbers in Normal mode nmap :set nu! "Map F3 to toggle on and off the Relative line numbers in Normal mode nmap :set rnu! "Map F3 to toggle on and off the line numbers in INSERT mode imap :set nu! i "Map F4 to toggle on and off the Relative line numbers in INSERT mode imap :set rnu! i "########################################################### "# Re-assign arrow keys to No Operation (in sert mode too) # "########################################################### nnoremap nnoremap nnoremap nnoremap inoremap inoremap inoremap inoremap "########################################################### "# Autocorrect Dictionary # "########################################################### abbr ture true abbr flase false abbr emailF the frugalcomputerguy@yahoo.com "########################################################### "# Set Default Search highlighting ON (Off commented out) # "########################################################### :set hlsearch :set incsearch "Set Default Search Highlighting OFF ":set noincsearch ":set nohsearch "########################################################### "# The line below will update: # "# The tab character to → unicode u2192 # "# The end of line character to ↲ unicode u21b2 # "########################################################### set listchars=tab:→\ ,eol:↲ "########################################################### "# Change settings by filetype: # "########################################################### set ts=4 sw=4 sts=4 noexpandtab autocmd Filetype perl setlocal ts=2 sw=2 sts=2 noexpandtab "autocmd Filetype css setlocal ts=4 sw=4 sts=4 expandtab