nvr --remotesend ":bd<cr>" opens a file named ":bd<cr>", and nvr --remote-send ":bd<cr>" deletes buffer in the focussed window.
The former was a typo that I made few couple of times already, while actually wanting to do the latter. And the difference between them is an inconspicuous hyphen. It clutters the session with more buffers, would be better to rather raise an error.
Another example:
nvr --weird "weird.txt" creates two buffers for two new files --weird and weird.txt without raising any error that weird is not a legit option.
nvr --remotesend ":bd<cr>"
opens a file named ":bd<cr>
", andnvr --remote-send ":bd<cr>"
deletes buffer in the focussed window.The former was a typo that I made few couple of times already, while actually wanting to do the latter. And the difference between them is an inconspicuous hyphen. It clutters the session with more buffers, would be better to rather raise an error.
Another example:
nvr --weird "weird.txt"
creates two buffers for two new files--weird
andweird.txt
without raising any error thatweird
is not a legit option.