Speed Up Your Coding: Must-Know Vi Commands for Efficiency!
Speed Up Your Coding: Must-Know Vi Commands for Efficiency! Open or Create file : 1) Create new file/Open existing file - 0:08 Editing commands : 1) Write in file/Change to insert mode - 01:21 2) Change to command mode and insert mode - 01:58 3) Undo last changes in file - 02:35 4) Add newline in file - 03:35 5) Delete a line from file - 03:58 6) Delete muliple lines from file - 04:10 7) Delete all lines - 04:32 8) Delete range of lines - 04:46 Search/Find in vi Editor : 05:36 1) Forward search in file - 05:48 2) Search next occurrence - 05:50 3) Backward search in file - 06:46 4) Search word in forward direction - 07:24 5) Search next occurrence of the word in forward direction - 07:54 6) Search next occurrence of the word in backward direction - 08:47 Search and Replace : 09:14 1) Replace first occurrence of the word in the line - 09:25 2) Replace all occurrences in the line - 10:54 3) Replace all occurrences in the file - 11:32 4) Delete all occurrence of a word in the file - 12::15 Copy and Paste in file : 12:48 1) Copy a line - 12:50 2) Paste copied line - 13:04 3) Copy multiple lines - 14:13 4) Copy all the content of the file - 15:18 5) Copy a range of the lines of file - 15:43 Other useful commands : 16:32 1) Display line numbers - 16:43 2) Go to the end of file - 17:20 3) Go to the beginning of the file - 17:42 4) Go to line number - 17:54 5) Save the file - 18:07 6) Quit from file - 18:18 7) Quit without saving - 18:29 8) Save and quit - 18:52 Follow us on : Facebook : https://www.facebook.com/Raksrahul-100219708647780 Instagram : https://www.instagram.com/raksrahul_ig/ #vi #vieditor #linux #texteditor
Download
0 formatsNo download links available.