Friday, April 18, 2025

Re: Can makeprg (or equivalent) be locally file-customised?

hi again,

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*)

regards

--
Marc Chantreux

--
--
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aAICsnH_7s4AbWx0%40prometheus.

No comments: