If these files reside in a (project) folder, one could define makeprg in a local vimrc https://github.com/MarcWeber/vim-addon-local-vimrc/ Le vendredi 18 avril 2025 à 10:44:43 UTC+2, dva...@internode.on.net a écrit :
> 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 vim_use+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_use/6993e4e9-203e-4010-9950-a3b124d468b6n%40googlegroups.com.