tig icon indicating copy to clipboard operation
tig copied to clipboard

Can't "bind generic @ none"

Open commonquail opened this issue 6 years ago • 0 comments

It's impossible to search for "@" so I hope I didn't miss an old report. This is superficially similar to, but opposite of, #483.

@ is bound as a diff- and stage-view internal command to :/^@@. In contrib/vim.tigrc it is unbound with bind generic @ none to rebind with composition but I can't get this to work; the composite bindings are registered, indeed, but @ remains bound and swallows the key (while executing the default action). Unbinding for the specific views works, however:

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

commonquail avatar Nov 19 '19 18:11 commonquail