Posted On April 16, 2019

How to Copy and Paste in VIM / VI

kimconnect 0 comments
blog.KimConnect.com >> Linux >> How to Copy and Paste in VIM / VI

While reading or in editing mode, press ESC twice

Move the cursor to the desired location

Press ‘v’ to enter Visual mode

Use the up/down/left/right buttons to select text or entire lines

Press ‘y’ to yank (copy)

Move cursor over to the desired pasting location

Press ‘p’ to paste

Press ESC twice to exit editing mode

Type ‘:wq’ to write and quit vim editor

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Linux SMB Mount via Command Line Bash Shell

Install smbfs to include these functions smbmount smbunmount Here is a demonstration of smbmount to…

How to Install Selenium for Python on Windows or Linux

Windows # This error would occur if pip is not up to date PS C:\WINDOWS\system32>…

Problem: NextCloud Would Not Start Due to Versioning Variance

This issue has occurred when NextCloud has been upgraded after deployment. Its source docker container…
Other project: DragonCoin.com