From b0a6211cb8a90af2d56ecb242af70fd1ca069de9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 8 Jul 2023 00:36:14 -0700 Subject: [PATCH] Add a keybinding to kitty for displaying guix build logs --- oni/home/config/common.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/oni/home/config/common.scm b/oni/home/config/common.scm index f371958..71747ad 100644 --- a/oni/home/config/common.scm +++ b/oni/home/config/common.scm @@ -197,4 +197,7 @@ LocalForward 2812 localhost:2812")) ;; This doesn't appear to work. ; (map . "ctrl+alt+o focus_visible_window") (map . "alt+2 new_window") - (map . "alt+0 close_window")))))) + (map . "alt+0 close_window") + ;; Find any "View build log messages" from guix and open the + ;; build log in Emacs. + (map . "ctrl+shift+g kitten hints --type=regex --regex=\\\"View build log at '([^']+)'\\.\\\" --program=\\\"emacsclient\\\""))))))