Set vim as default cronjob editor

Set vim as default cronjob editor

Method 1 Find Replace with Method 2 edit .bash_profile Add Once added, .bash_profile will look like Method 3 If you

Install vim from source on CentOS

Install vim from source on CentOS

To install vim from source on CentOS server, run This will install latest version of vim. You can start it

Show line number in vim

Show line number in vim

To show line number in vim, use command To hide numbers, type To always show line number, edit file Add

Comment multiple lines in vim

Comment multiple lines in vim

To comment multiple lines in vim, first select the line in visual mode. To change mode to visual mode, type

vim

vim

Vim 8 goes Visual Mode on right click vim E509: Cannot create backup file (add ! to override) Install vim

Vim 8 goes Visual Mode on right click

Vim 8 goes Visual Mode on right click

Vim 8 shipped with Fedora 25 and Debian 9 when you mouse right click or use middle button to insert