Fix borked keys in insert mode
Due to unescapted ctrl key specs.
This commit is contained in:
parent
4f4495ca2a
commit
592205e1dd
1 changed files with 9 additions and 9 deletions
|
@ -721,7 +721,7 @@
|
||||||
|
|
||||||
;; Fix TAB in terminal
|
;; Fix TAB in terminal
|
||||||
(unless window-system
|
(unless window-system
|
||||||
(define-key input-decode-map "TAB" [tab]))
|
(define-key input-decode-map (kbd "TAB") [tab]))
|
||||||
|
|
||||||
(after! evil
|
(after! evil
|
||||||
(evil-define-key* 'insert 'global
|
(evil-define-key* 'insert 'global
|
||||||
|
@ -729,24 +729,24 @@
|
||||||
;; Pressing it again will send you to the true bol. Same goes for C-e,
|
;; Pressing it again will send you to the true bol. Same goes for C-e,
|
||||||
;; except it will ignore comments and trailing whitespace before jumping to
|
;; except it will ignore comments and trailing whitespace before jumping to
|
||||||
;; eol.
|
;; eol.
|
||||||
"C-a" #'doom/backward-to-bol-or-indent
|
"\C-a" #'doom/backward-to-bol-or-indent
|
||||||
"C-e" #'doom/forward-to-last-non-comment-or-eol
|
"\C-e" #'doom/forward-to-last-non-comment-or-eol
|
||||||
"C-u" #'doom/backward-kill-to-bol-and-indent
|
"\C-u" #'doom/backward-kill-to-bol-and-indent
|
||||||
;; textmate-esque newline insertion
|
;; textmate-esque newline insertion
|
||||||
[M-return] #'evil-open-below
|
[M-return] #'evil-open-below
|
||||||
[S-M-return] #'evil-open-above
|
[S-M-return] #'evil-open-above
|
||||||
;; Emacsien motions for insert mode
|
;; Emacsien motions for insert mode
|
||||||
"C-b" #'backward-word
|
"\C-b" #'backward-word
|
||||||
"C-f" #'forward-word)
|
"\C-f" #'forward-word)
|
||||||
|
|
||||||
(evil-define-key* 'insert 'global
|
(evil-define-key* 'insert 'global
|
||||||
;; textmate-esque deletion
|
;; textmate-esque deletion
|
||||||
[M-backspace] #'doom/backward-kill-to-bol-and-indent)
|
[M-backspace] #'doom/backward-kill-to-bol-and-indent)
|
||||||
|
|
||||||
(define-key! evil-ex-completion-map
|
(define-key! evil-ex-completion-map
|
||||||
"C-a" #'move-beginning-of-line
|
"\C-a" #'move-beginning-of-line
|
||||||
"C-b" #'backward-word
|
"\C-b" #'backward-word
|
||||||
"C-f" #'forward-word))
|
"\C-f" #'forward-word))
|
||||||
|
|
||||||
(after! tabulated-list
|
(after! tabulated-list
|
||||||
(define-key tabulated-list-mode-map "q" #'quit-window))
|
(define-key tabulated-list-mode-map "q" #'quit-window))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue