From 2ef42f86dc58035f4cd5e7e4866028c1566c2ff1 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 3 Nov 2024 07:03:25 -0800 Subject: [PATCH] Fix kkp not being enabled in the first tty frame --- init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.el b/init.el index 06e8816..bb82297 100644 --- a/init.el +++ b/init.el @@ -369,7 +369,6 @@ directory. Otherwise, run `find-file' on that file." ;; kitty keyboard protocol (use-package kkp - :bind ("C-q" . my/quoted-insert) :config (global-kkp-mode 1) (defun my/-kkp-after-terminal-setup (&rest _) @@ -394,7 +393,7 @@ directory. Otherwise, run `find-file' on that file." (while (> arg 0) (insert-and-inherit char) (setq arg (1- arg)))))) - + (keymap-global-set "C-q" #'my/quoted-insert) (defun my/-kkp-fix-save-some-buffers (oldfun &optional arg pred) "Fix `save-some-buffers' when used in a terminal with kkp enabled." (let ((status (kkp--terminal-has-active-kkp-p)))