Skip to content

Conversation

sukima
Copy link

@sukima sukima commented Mar 4, 2018

In many cases where Vim is used as an intermediate step in a series of steps it is helpful to abort when the user explicitly exits vim with a non-zero exit code.

What that means in this project is that if the user who is editing the buffer decides that he/she does NOT wish to overwrite the clipboard (maybe they realized they have something important) they would quit Vim with :cq instead of the normal ways. This means they can write the file all they want and it will not be copied to the clipboard if they use the :cq command.

Granted the utility of this is debatable making this change optional.

In many cases where Vim is used as an intermediate step in a series of
steps it is helpful to abort when the user explicitly exits vim with a
non-zero exit code.

What that means in this project is that if the user who is editing the
buffer decides that he/she does NOT wish to overwrite the clipboard
(maybe they realized they have something important) they would quit Vim
with `:cq` instead of the normal ways. This means they can write the
file all they want and it will not be copied to the clipboard if they
use the `:cq` command.

Granted the utility of this is debatable making this change optional.
@sukima sukima force-pushed the feature/allow-aborting-vim branch from 260b202 to b2861db Compare March 4, 2018 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant