-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
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
Empty or one-line output from external commands should not create "Press ENTER" prompt #200
Comments
Just to understand you correctly. You are using something like:
which executes the command in the background with no console output. You would like to be able to see in the status line of tig, either the first line of the console output or some sort of status message based on the exit code of the command. |
Yes, exactly. So I could for example do this: generic = y !sh -c 'echo -n %(commit) | xclip -i -selection clipboard && echo "copied %(commit) to clipboard"' without having to press Enter after the message. |
Instead of prompting the user to 'Press Enter to continue', drop directly back into last view after edit when no error was reported by the editor References #200
I'm wondering the same thing. Is there some way to echo out something to the status line at the bottom? |
I like that idea too |
Me too ;). But I would prefer it would require a special flag(suggestions are welcome)
|
Maybe something like :
The |
I think that's how it works also with the confirm flag with |
Any update on this ? |
Didn't get around to working on this, yet. On Mon, Jun 22, 2015 at 7:48 AM, Edgar Hipp [email protected]
Jonas Fonseca |
I'd like to +1 this issue too. My first guess to fix it was adding a or two to the end but that didn't work. |
This can also help when you do a git push origin right? Would like to avoid the extra enter usually ... the alternative currently is to do pull in Vim which can execute a command silently. |
Yes, if that syntax was implemented, you could do something like :
|
Fixed in 4a3d90a, which uses the |
I would like to echo a short status message after the suggested "copy revision to clipboard" binding to confirm that the command has been executed, but that requires me to hit Enter after every copy which is quite annoying. If the output is short enough to fit into one line there is no real need to prompt the user for confirmation.
The text was updated successfully, but these errors were encountered: