4 ms·
A need I've had on multiple occasions is to, for example, search for the next occurance of "abcdef" but have my cursor land on the "d". In vim that's a simple
by pmoriarty 4y ago
A need I've had on multiple occasions is to, for example, search for the next occurance of "abcdef" but have my cursor land on the "d".
In vim that's a simple abc\zsdef
It also highlights just the "def", which is nice.
To highlight just the "de", you could use abc\zsde\zef
Yes, you could probably use some lisp magic to do the same in emacs, but it's not nearly as easy or convenient.
- _a_a_a_ 4y agoI guess in the next eight hours somebody will post you a snippet of elisp which will do what you want. Emacs people are very accommodating. Let's see anyway