fixed binds

This commit is contained in:
Rachel Lambda Samuelsson 2022-11-20 17:10:38 +01:00
parent 1c0ccde0c1
commit a690de6df0

View File

@ -57,10 +57,17 @@
(global-set-key (kbd "M-l") '(lambda () (interactive) (evil-window-increase-width 1))) (global-set-key (kbd "M-l") '(lambda () (interactive) (evil-window-increase-width 1)))
(global-set-key (kbd "C-<return>") 'vterm) (global-set-key (kbd "C-<return>") 'vterm)
(evil-global-set-key 'normal (kbd "C-t") 'treemacs) (evil-define-key '(normal insert visual replace operator motion emacs) 'global (kbd "C-t") nil)
(evil-global-set-key 'normal (kbd "C-d") 'evil-quit) (evil-define-key '(normal insert visual replace operator motion emacs) 'global (kbd "C-d") nil)
(evil-global-set-key 'emacs (kbd "C-t") 'treemacs) (global-set-key (kbd "C-t") 'treemacs)
(evil-global-set-key 'emacs (kbd "C-d") 'evil-quit) (global-set-key (kbd "C-d") 'evil-quit)
(require 'vterm)
(define-key vterm-mode-map (kbd "C-a") nil)
(define-key vterm-mode-map (kbd "C-h") nil)
(define-key vterm-mode-map (kbd "C-j") nil)
(define-key vterm-mode-map (kbd "C-k") nil)
(define-key vterm-mode-map (kbd "C-l") nil)
;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;
;;;; Mode specific ;;;; ;;;; Mode specific ;;;;