Set vim as default cronjob editor
Method 1 vi /etc/bashrc Find export EDITOR=”pico” export VISUAL=”pico” Replace with export EDITOR=”vi” export VISUAL=”vi” Method 2 edit .bash_profile vi /root/.bash_profile Add…
Method 1 vi /etc/bashrc Find export EDITOR=”pico” export VISUAL=”pico” Replace with export EDITOR=”vi” export VISUAL=”vi” Method 2 edit .bash_profile vi /root/.bash_profile Add…
To install vim from source on the CentOS server, run This will install the latest version of Vim. You can start it…
To show line number in vim, use command :set number To hide numbers, type :set nonumber To always show line number, edit…
To comment multiple lines in vim, first select the line in visual mode. To change mode to visual mode, type v Now…
Vim 8 goes Visual Mode on right click vim E509: Cannot create backup file (add ! to override) Install vim from source…
Vim 8 shipped with Fedora 25 and Debian 9 when you mouse right click or use middle button to insert text to…