Modify ubuntu default editor to vim Normally, the default editor under ubuntu terminal is nano, we directly edit a file, the default will open nano. For example, when we enter “crontab -e“, the nano editor will be opened by default. For those who are familiar with VIM, we want the default editor to use vim, then we need to modify the default editor of ubuntu. There are three ways to modify the default editor of ubuntu: 1. Directly input in the terminal: echo export EDITOR=/usr/bin/vim >> ~/.bashrc Second, use the system management tool update-alternatives to modify the input in the terminal: Br>
update-alternatives --config editor Then select vim.basic this. Third, if there are only two editors in the system, nano and vim, this time we will completely remove nano, then the system will choose by default. Vim is the default editor. Enter the command to delete the nano editor in the terminal: sudo apt-get remove nano After the modification is complete, we type: crontab -e Take a look at the vim editor that you like.
Today, I suddenly had a whim and wanted to experience Mac Os. I heard that the virtual machine inst
Arista networks is a company that provides cloud computing network equipment for data centers. Its c
Redis is an open source, log-based, Key-Value database that is written in ANSI C, supports networki
In recent years, the open source Linux system can be said to be in the limelight, whether it is pers
Server-side development experience summary Linux C language
Basic configuration tutorial for IpTables under Linux
Shell regular expressions use detailed explanation
Modify the output of snort's socket mode
Remote assistance for shells under Linux operating system
Detailed linux and win partition format
Centos view port usage and enable port command
Win7 computer how to set automatic replacement wallpaper theme does not want to manually replace
Experience masters commonly used shortcut combination key Win+D magical effect
Win7 enable NFS service settings skills
Windows XP input method can not be converted
Or drastically cut the price of Win8 equipment
Two steps to easily change the default location of Windows 7 Explorer
Linux RAC OCFS file system and INODES
Equipped with an automatic archiver for the clipboard
Win8 system development with anti-hacker anti-virus function