It’s extremely frustrating returning to a ‘normal’ editor and trying to find the shortcut key for ‘regex substitution’. ;)
Well, in Notepad, the keyboard shortcut for Find/Replace is Ctrl-H...
I’m referring to my favourite feature of vim: regex substitution. Commands like :%s:(\w+)(.*\s+)(\w+)$:\3\2\1:
Yeah, old-fashioned find/replace just isn’t as versatile as regular expressions. :(
Obligatory XKCD link.
It’s extremely frustrating returning to a ‘normal’ editor and trying to find the shortcut key for ‘regex substitution’. ;)
Well, in Notepad, the keyboard shortcut for Find/Replace is Ctrl-H...
I’m referring to my favourite feature of vim: regex substitution. Commands like :%s:(\w+)(.*\s+)(\w+)$:\3\2\1:
Yeah, old-fashioned find/replace just isn’t as versatile as regular expressions. :(
Obligatory XKCD link.