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