Category Archives: Vim Command

Vim Command Tutorial: Common Usage Examples

vim tutorial: vim cursor move

Vim cursor move: 1. up, down, left, and right; 2. to the top of the file; 3. to the end of the line; 4. to the top of the screen Continue reading

Posted in Text Processing, Vim Command | Tagged , , , | Comments Off on vim tutorial: vim cursor move

vim tutorial: vim delete line

Vim delete lines, as the basic knowledge of vim is one of the functions we must master. Mastering the skills of deleting lines can improve our efficiency in editing text. This article will show you how to delete lines in … Continue reading

Posted in Vim Command | Tagged , , , | Comments Off on vim tutorial: vim delete line

vim tutorial: vim copy, cut and paste

This article will show you how to use vim to copy-paste and cut-paste in normal mode. ①y stands for copy ②p stands for paste ③d stands for cut Continue reading

Posted in Text Processing, Vim Command | Tagged , , | Comments Off on vim tutorial: vim copy, cut and paste

vim tutorial: vim search

Vim search can help us quickly locate the location of the content when looking for or modifying the content of a file. Continue reading

Posted in Vim Command | Tagged , , , | Comments Off on vim tutorial: vim search

vim tutorial: vim save and quit

Vim save and quit, there are two shortcut keys:
* :wq – Force write file and quit.
* 😡 – Write to file and quit. Continue reading

Posted in Vim Command | Tagged , , , | Comments Off on vim tutorial: vim save and quit

How to replace strings in files in the Linux command line

There are many ways to replace strings in Linux. You can use vim/vi to edit files, you can also use the sed command to replace, or you can search for all files to be replaced and replace them. Continue reading

Posted in How to, File & Directory, Sed Command, Text Processing, Vim Command | Tagged , , | Comments Off on How to replace strings in files in the Linux command line

linux vim command arguments and vim workflow

Vim Very powerful text editor. As a R&D engineer, you must be proficient in the vim command. Vim is divided into three modes: Command Mode, Insert Mode and Last Line Mode. The effects of these three modes are: Command Mode: … Continue reading

Posted in Vim Command, Text Processing | Tagged , , | Comments Off on linux vim command arguments and vim workflow