Open bolivier opened 7 years ago
Hi I was thinking about. Persistig the previous command is the easiest. But in case first invocation was run with spring, and lets say that spring was stop, second invocation of generate will try to use spring again. User would need to remember to delete spring
prefix.
What about using a buffer local variable that would hold a default generate arguments. You could add this to the .dir-locals.el
file via add-dir-local-variable
(the mode would be nil
). What do you think?
I almost always want to pass
--no-helper
and--no-assets
by default, but I don't see a way to persist those as default options to generate.Either something like what magit does wrt
rebase
or whatcompile
does, persisting the previous command to the minibuffer, would be a nice feature.