Skip to content

Vim

Initial ~/.vimrc

cat << EOF > ~/.vimrc
:set relativenumber
:set number 
:highlight LineNr ctermfg=DarkGrey
:set tabstop=2
:set smarttab
filetype plugin on
syntax on
" Remember last position
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | execute "normal! g'\"" | endif
EOF