Change vterm binding

This commit is contained in:
Lars Tveito 2020-09-22 18:06:08 +02:00
parent 34cfa2e404
commit 6a0f5e53ca

View File

@ -1280,7 +1280,7 @@
(define-key custom-bindings-map (kbd "C-c j") 'cycle-spacing-delete-newlines) (define-key custom-bindings-map (kbd "C-c j") 'cycle-spacing-delete-newlines)
(define-key custom-bindings-map (kbd "C-c d") 'duplicate-thing) (define-key custom-bindings-map (kbd "C-c d") 'duplicate-thing)
(define-key custom-bindings-map (kbd "<C-tab>") 'tidy) (define-key custom-bindings-map (kbd "<C-tab>") 'tidy)
(define-key custom-bindings-map (kbd "M-`") 'toggle-vterm) (define-key custom-bindings-map (kbd "C-z") 'toggle-vterm)
(dolist (n (number-sequence 1 9)) (dolist (n (number-sequence 1 9))
(global-set-key (kbd (concat "M-" (int-to-string n))) (global-set-key (kbd (concat "M-" (int-to-string n)))
(lambda () (interactive) (switch-vterm n)))) (lambda () (interactive) (switch-vterm n))))