Skip to content

Remove the exclusion between '?' and internal command #1378

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liangkarl
Copy link

@liangkarl liangkarl commented May 6, 2025

According to the document, '?' have the top priority while running external command, but it will fail if the keybind is like this bind main pc :?!git log which is a legal combination.

In this commit, I simply move the confirm check to the first place.

External user-defined command
    These actions start with one or more of the following option flags followed by the command that should be executed.
    !   Run the command in the foreground with output shown.
    @   Run the command in the background with no output.
    +   Run the command synchronously, and echo the first line of
        output to the status bar.
    ?   Prompt the user before executing the command.
    <   Exit Tig after executing the command.
    >   Re-open Tig instantly in the last displayed view after
        executing the command.

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