boon icon indicating copy to clipboard operation
boon copied to clipboard

The `boon-quit-key` should be bound to `boon-quit` in special state

Open bernardjoseph opened this issue 5 years ago • 2 comments

The boon-quit-key should be bound to boon-quit in special state:

(define-key boon-special-map boon-quit-key #'boon-quit)

bernardjoseph avatar Jan 06 '20 19:01 bernardjoseph

I currently have:

(define-key boon-special-map boon-quit-key 'boon-set-command-state)

What's your rationale?

jyp avatar Jan 07 '20 08:01 jyp

I want to have a quit-key in special buffers, so that I can remove highlights, deactivate marks, etc. With the quit-key bound to boon-set-command-state I often end up in a buffer in command state after pressing the quit-key. I can then switch back to special state by boon-set-insert-like-state, but this is a bit annoying.

bernardjoseph avatar Jan 07 '20 16:01 bernardjoseph