vi-editor editing Tips & Tricks Delete operations #Linux Tip #pavandevarakonda #vieditor #education

Become strong in #Linux βœ‚Optimizer by using #vi-editor, you can make difference, booting up with speed on your daily works in #Developing or #Editing #automation scripts. Master the #fundamentals to have #deepDive into #cli-world. It’s simple #bitesize video to spend minimum #2mins for this #learning video.

Let’s learn all possible delete options in vi/vim.

Don’t be afraid of using delete operation, because it’s just editing. We can do undo and redo with simple commands.

πŸ’Ύ u for undo the last command
πŸ”‚ . for redo the last command

Deletion operations

βœ‚ x deletes a char from current cursor position
βœ‚ X deletes a before char from current cursor position
βœ‚ dd deletes current line where cursor exists

βœ‚ dw deletes word from cursor position
βœ‚ de Deletes the word to the end of the current line.
βœ‚ db Deletes the word to the beginning of the current line
βœ‚ dd Deletes current line

βœ‚ d0 delete from cursor to begin of line
βœ‚ d$ delete from cursor till end of the line
βœ‚ D deletes current cursor to end of line
βœ‚ dG deletes lines from cursor to end of file

#byteSizeVideo #TipsNTricks #TipsTricks
#LearnLikePro #DevOps #DevSecOps #SRE #ROS #ROS2 #Ubuntu #RHEL #Tips #Tricks #TipsnTricksVieditor #AutomationGuru
#PavanDevarakonda #shellscripting #tutorial #freevideotutorial #learningvideo #videotutorial #supercharge your #PersonalGrowth with this
#ContinuousLearning #linkedinvideo