mhinz / neovim-remote

:ok_hand: Support for --remote and friends.
MIT License
1.73k stars 83 forks source link

nvr with no options *should* default to --remote-wait #186

Open traverseda opened 1 year ago

traverseda commented 1 year ago

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

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.