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

Except for <Esc> combos only one key is allowed in key combos #587

Closed
oblitum opened this issue Apr 13, 2017 · 2 comments
Closed

Except for <Esc> combos only one key is allowed in key combos #587

oblitum opened this issue Apr 13, 2017 · 2 comments

Comments

@oblitum
Copy link

oblitum commented Apr 13, 2017

tig 2.0.2 on Ubuntu Xenial (Windows Services for Linux)

I'm getting a lot of these warnings for my .tigrc:

tig warning: ~/.tigrc:9: Except for combos only one key is allowed in key combos: gg

Any idea why? On ArchLinux I don't get this but I don't recall which version it's there, it should be more up to date than the Xenial package.

# Vim-style keybindings for Tig

bind generic h scroll-left
bind generic j move-down
bind generic k move-up
bind generic l scroll-right

bind generic g  none
bind generic gg move-first-line
bind generic gj next
bind generic gk previous
bind generic gp parent
bind generic gP back
bind generic gn view-next

bind main    G  none
bind generic G  move-last-line

bind generic <Space> enter

bind generic <C-f> move-page-down
bind generic <C-b> move-page-up

bind generic v  none
bind generic vm view-main
bind generic vd view-diff
bind generic vl view-log
bind generic vt view-tree
bind generic vb view-blob
bind generic vx view-blame
bind generic vr view-refs
bind generic vs view-status
bind generic vu view-stage
bind generic vy view-stash
bind generic vg view-grep
bind generic vp view-pager
bind generic vh view-help

bind generic o  none
bind generic oo :toggle sort-order
bind generic os :toggle sort-field
bind generic on :toggle line-number
bind generic od :toggle date
bind generic oa :toggle author
bind generic og :toggle line-graphics
bind generic of :toggle file-name
bind generic op :toggle ignore-space
bind generic oi :toggle id
bind generic ot :toggle commit-title-overflow
bind generic oF :toggle file-filter
bind generic or :toggle commit-title-refs

bind generic @  none
bind generic @j :/^@@
bind generic @k :?^@@
bind generic @- :toggle diff-context -1
bind generic @+ :toggle diff-context +1

bind status  u  none
bind stage   u  none
bind generic uu status-update
bind generic ur status-revert
bind generic um status-merge
bind generic ul stage-update-line
bind generic us stage-split-chunk

bind generic c  none
bind generic cc !git commit
bind generic ca !?@git commit --amend --no-edit

bind generic K view-help
bind generic <C-w><C-w> view-next
@jonas
Copy link
Owner

jonas commented Apr 15, 2017

Questions are better asked on StackOverflow or in the Gitter channel.
Support for key combos was added in 2.1.1 (#67) so upgrading Tig should fix this issue.

@jonas jonas closed this as completed Apr 15, 2017
@oblitum
Copy link
Author

oblitum commented Apr 15, 2017

OK, thanks for the information.

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

2 participants