From 04d45ded78cc506d18d7309cc5a1957a181451be Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Tue, 6 Sep 2022 13:54:28 -0700 Subject: [PATCH] Add layout shortcuts to kitty --- TODO.org | 4 ---- nix/modules/kitty/default.nix | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TODO.org b/TODO.org index feeda9a..994eb92 100644 --- a/TODO.org +++ b/TODO.org @@ -16,13 +16,9 @@ figure out interactions with Doom ** Fira Code glyphs in vterm https://www.reddit.com/r/DoomEmacs/comments/qqqbon/wrong_icons_in_the_vterm/ * Kitty -** Layout shortcuts -https://sw.kovidgoyal.net/kitty/actions/#action-toggle-layout ** Cheatsheet popup shortcuts *** fzf -> tldr *** kitty shortcuts -** Easier shortcuts to resize panes -ctrl+shift+arrows ** ssh wrapper * Shell ** Aliases to auto-deploy templates for python/nix direnv diff --git a/nix/modules/kitty/default.nix b/nix/modules/kitty/default.nix index 325ac0f..a4bbf7b 100644 --- a/nix/modules/kitty/default.nix +++ b/nix/modules/kitty/default.nix @@ -4,7 +4,7 @@ enable = true; settings = { - enabled_layouts = "vertical, tall, grid, stack"; + enabled_layouts = "grid, tall, vertical, stack"; background_opacity = "1.0"; macos_option_as_alt = "left"; }; @@ -28,6 +28,10 @@ "ctrl+s>l" = "next_layout"; "ctrl+s>h" = "show_scrollback"; + "ctrl+s>1" = "goto_layout grid"; + "ctrl+s>2" = "goto_layout tall"; + "ctrl+s>3" = "goto_layout vertical"; + "ctrl+page_down" = "next_tab"; "ctrl+page_up" = "previous_tab"; "ctrl+shift+page_down" = "move_tab_forward";