Cannot cancel from URL mode after upgrading to 1.8.0
My cancel bindings no longer seem to work.
[url-bindings] # cancel=Control+g Control+d Escape # toggle-url-visible=t cancel=Control+c Control+g Control+d Escape
Well isn't this embarassing...
FWIW, the default bindings work just fine, and Control+c is now included, so workaround is simply to remove your custom bindings.
Got it. When replacing an existing binding (for example, when replacing the default binding with a custom binding), we currently don't erase the old bindings from the array, but instead mark them as "unused" (action ==
BIND_ACTION_URL_NONE). The new bindings are then inserted at the end.
When translating the bindings for a given keymap, we're supposed to ignore
BIND_ACTION_URL_NONE. This is done for regular key bindings and search bindings, but not URL bindings.
But, I think the proper solution is to remove/replace the old bindings, instead of marking them as unused.
Deleting a branch is permanent. It CANNOT be undone. Continue?