I've configured Doom emacs to run an interactive evil-ex command in visual mode, the reaconfiguration is as below:
(defun evil-insert-into-lines () (interactive) (evil-ex "'<,'>norm I")) (defun evil-append-to-lines () (interactive) (evil-ex "'<,'>norm A")) (define-key evil-visual-state-map (kbd "C-i") 'evil-insert-into-lines) (define-key evil-visual-state-map (kbd "C-a") 'evil-append-to-lines)
The second function is invoked both by pressing C-a and C-shift-a (C-A) but the first function only works when I press (C-shift-i). Anyone has any idea what could be the reason?
TABcharacter, so there is probably some kind of conflict happening on that basis. What do
C-h k C-iand
C-h k C-S-ireport?
C-h k C-isays it's bound to
better jump forwardbut
C-S-iis bound to my function.