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

dvalin via vim_use <[email protected]> Fri, 18 Apr 2025 08:44:31 +0000
Newsgroups gmane.editors.vim
Message-ID <1b78ab74-61be-4516-ad36-37472df0fb4e@localhost>
Awkward apologies for the post without subject. This one is for the thread.

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, 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/1b78ab74-61be-4516-ad36-37472df0fb4e%40localhost.