-
Vim–How to Cut, Copy & Paste Text
Copy & Paste: Select/Highlight: First to select the characters use ‘v’ to enter ‘VISUAL’ mode. (Hit ‘v’ again to go back to “normal” mode.) We can select (highlight) one character at a time by hitting the cursor left or right. We can also hit up or down to select the current line and the next line up to the character column that we are spaced at. Shift-‘v’ or Uppercase ‘V’ enters ‘VISUAL LINE’ mode. (Hit shift-v again to go back to “normal” mode.) This will select the entire current line. We can then move up or down to select (or deselect), by highlighting, the lines we want. Control-‘v’ enters the…
-
Vim–The Vi IMproved Text Editor
As happens SO MANY times when I am learning to program, I start off on one topics the the journet quickly swerves into unchartered territory and I find myself in the deep reaches of the Google-verse searching up topics I didn’t even know existed or previously knew little to nothing about. It was during one such journey that I stumbled across Vim. Upon first learning about it, I quickly opened it up in my command line to see what it was, and then, just as quickly, I ended up hating it. As seems to be the norm for many a Vim newbie. But seeing that is was a lightweight program…