When Vimming a number of wildly disparate textfiles, each with a single custom 
processing requirement, it would be absolutely ideal to set makeprg (or 
equivalent) in a modeline. But for makeprg that is verboten: "This option 
cannot be set from a |modeline| or in the |sandbox|, for security reasons."

Mind you, here there is no such security concern - whether any command is run 
by ":!" or makeprg makes no real difference, so I'm not entirely sure why one 
would impose the clumsiness of having to insert ":!groff -k -Tpdf -ms -m hdtbl 
-dpaper=a4 -P-pa4 % > /tmp/vde.pdf" or whatever another file needs?

So is there a file-local way to just alias e.g. ^m to a shell command, **in the 
modeline**? That would be much faster to invoke, and not muck with makeprg.

Vim can do everything; it's finding the clue in the :help that is the 
challenge, even going in with a packed lunch.

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/d896d28d-744e-4f17-a397-6032c2e0db34%40localhost.

Reply via email to