On 18.04.25 09:43, Marc Chantreux wrote: > On Fri, Apr 18, 2025 at 12:08:56AM -0400, Eli the Bearded wrote:
> > :map * "yyy@y > this is an old vi trick, vim can just source a range: > :.so > > That makes "*" run the line currently under the cursor. In my own files, > > for my own use, I embed vi commands all the time. > > then you lose the awesome "next occurence of the current word" (see :h *, :h # > and :h g*) Marc, I took '*' for a placeholder, not a literal, given Eli's evident Vim Fu, and would likely substitute ^M, as ":h ^M" shows it to be redundant, and it is mnemonic for "make". Erik -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_use/701fd5c8-c422-4045-8677-dc1e3dc4af03%40localhost.
