We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be useful to make the current selection (if any) available to shell scripts, for example via $VIMB_SELECTION.
$VIMB_SELECTION
The text was updated successfully, but these errors were encountered:
@herrsimon That sound interesting! I think we could grab the selection content if a :sh command is started and set it as environment variable.
:sh
Sorry, something went wrong.
Give current selection as env on :shellcmd #592.
e0035ec
Give current selected text as environment variable $VIMB_SELECTION to scripts called by `:shellcmd`.
@herrsimon I've added setting of the $VIMB_SELECTION env var if :shellcmd is called. Please close this issue if this work for you.
:shellcmd
works like a charm, thanks for the super quick implementation!
fanglingsu
No branches or pull requests
It would be useful to make the current selection (if any) available to shell scripts, for example via
$VIMB_SELECTION
.The text was updated successfully, but these errors were encountered: