refactor(tazjin/emacs): change key bindings for telega/term-switcher

Change-Id: Ia083a337f69aa258b9d4487affc594f5c4f1096d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12426
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2024-09-02 11:39:02 +03:00 committed by tazjin
parent 69dcd8e92c
commit 7f1ecff989

View file

@ -72,7 +72,8 @@
(use-package rainbow-mode)
(use-package s)
(use-package string-edit-at-point)
(use-package term-switcher)
(use-package term-switcher
:bind (:map global-map ("<f5>" . #'ts/switch-to-terminal)))
(use-package undo-tree
:config (global-undo-tree-mode)
@ -166,7 +167,7 @@
(setq common-lisp-hyperspec-root "file:///home/tazjin/docs/lisp/"))
(use-package telega
:bind (:map global-map ("s-c" . (lambda (p) (interactive "P")
:bind (:map global-map ("C-x c" . (lambda (p) (interactive "P")
(if p (call-interactively #'telega-chat-with)
(telega))))
:map telega-chat-button-map ("a" . ignore))