This would let you have export $EDITOR=nvr and everything would just work with most applications by default. You could do the same with the $PAGER env variable. Unfortunately a $PAGER/$EDITOR must be just an execrable, you can't set up an alias or provide command line options.
Just changing the default to be --remote-wait has a few obvious problems, one is that it's a breaking change and those are to be avoided. Another is that it's not very customizable, you can't have it automatically open the buffer in a split or anything like that.
Two options we have are
Creating a new command, nvr-wait or nvr-edit or something, which we can set as our $EDITOR/$PAGER directly.
Customizing default options via some kind of env variable.
Some combination of the two
Probably for my own use I'm just going to create a shell script but it would be nice if there was a default option.
This would let you have
export $EDITOR=nvr
and everything would just work with most applications by default. You could do the same with the$PAGER
env variable. Unfortunately a $PAGER/$EDITOR must be just an execrable, you can't set up an alias or provide command line options.Just changing the default to be
--remote-wait
has a few obvious problems, one is that it's a breaking change and those are to be avoided. Another is that it's not very customizable, you can't have it automatically open the buffer in a split or anything like that.Two options we have are
nvr-wait
ornvr-edit
or something, which we can set as our $EDITOR/$PAGER directly.Probably for my own use I'm just going to create a shell script but it would be nice if there was a default option.