2 ms·
Required reading for anyone who uses Vi (or wants to take the dive) "Your problem with Vim is that you don't grok vi." : https://stackoverflow.com/a/1220118 ht
by madmax108 6y ago
Required reading for anyone who uses Vi (or wants to take the dive)
"Your problem with Vim is that you don't grok vi." : https://stackoverflow.com/a/1220118 https://stackoverflow.com/a/1220118
Anecdote time:
Just a few hours back, I was working with a json file and needed a way to copy data between 2 matching parens in a Json node.
'v' is vi-speak for switching to visual mode
'%' is vi-speak for skip to matching param
'y' is vi-speak for copy (or yank)
So 'v%y' is for switching to visual mode and jump to matching param (which visual mode highlights text) and then copy the highlighted text.
Ah, the joys of vim! Truly one of those tools that can elevate your whole productivity once you grok the basics! :)