Skip to content
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

Add an action to list hotkeys on current mode pane #41

Open
rocaltair opened this issue Dec 27, 2017 · 0 comments
Open

Add an action to list hotkeys on current mode pane #41

rocaltair opened this issue Dec 27, 2017 · 0 comments

Comments

@rocaltair
Copy link

such as

bindkey F1 show-global-bindkey
bindkey F2 show-mode-bindkey

press F2, open an pane and list bindkeys:

git.misc

  annotate match git.commit   -- git rev-list --all --reflog --abbrev=2 --abbrev-commit
  annotate match git.filename -- git ls-files
  annotate match git.ref      -- git for-each-ref --format='%(refname)%0a%(refname:short)'

  bindkey s   git.commit   git.show   -- >git show --stat=400 -p %(git.commit)
  bindkey v   git.filename git.source -- >cat "%(git.filename)"
  bindkey b   git.filename git.blame  -- >git blame -- "%(git.filename)"
  bindkey l   git.ref      git.log    -- >git log %(git.ref)
  bindkey S-r git.commit              -- ?!git rebase --interactive %(git.commit)
  bindkey S-f git.commit              -- ?!git commit --fixup=%(git.commit)

Might be useful?

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

No branches or pull requests

1 participant