Emacs - error: key sequence
The problem is that there is already a command tied to s
(in particular evil-substitute
), which means you would not be able to bind to you ss
because the first one s
would invoke evil-substitute
. You can disable s
by setting it to nil
, and then bind ss
like you already did:
(define-key evil-normal-state-map "s" nil)
(define-key evil-normal-state-map "ss" 'split-window-vertically)
(If you want to know what commands are associated with these keys, you can use M-x describe-key SOMEKEY
or C-h k SOMEKEY
.)
source to share