VIM

Go to dir listing after ‘quiting’ file in vim

:b#

Remove trailing whitespaces

:%s/\v\s+$//
:%s/\s\+$//e

Remove everything after first tab

:%s/\t.*//

Remove everything up to first comma

:%s/^[^,]*,//

Add 80-character colomn bar

vim /etc/vim/vimrc

# add line
set colorcolumn=80

Change comment color

cd /usr/share/vim/vim80/colors
# copy a file with a nice color scheme
cp ron.vim zobo.vim

vim zobo.vim 
# change lines:
let g:colors_name = "zobo"
hi comment ctermfg=green guifg=green

vim /etc/vim/vimrc
# add line somewhere
color zobo