From 0f02c4b37639201402fae4631472945688aa2d98 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sun, 11 Aug 2024 21:38:42 +0200 Subject: [PATCH] ghostty: padding tweaks. fish binding for C-m --- files/config/fish/config.fish | 1 + home/common/ghostty.nix | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/files/config/fish/config.fish b/files/config/fish/config.fish index dc30f48..f7334c3 100644 --- a/files/config/fish/config.fish +++ b/files/config/fish/config.fish @@ -3,6 +3,7 @@ bind \cg __zoxide_zi_repaint bind \cJ forward-char bind \cn history-prefix-search-forward bind \cp history-prefix-search-backward +bind \e\[109\;5u execute # C-m in ghostty # Settings set fish_greeting diff --git a/home/common/ghostty.nix b/home/common/ghostty.nix index 3914439..2d3efcf 100644 --- a/home/common/ghostty.nix +++ b/home/common/ghostty.nix @@ -46,8 +46,8 @@ in window-decoration = true; gtk-tabs-location = "bottom"; - window-padding-x = 4; - window-padding-y = 4; + window-padding-x = 12; + window-padding-y = 0; window-padding-balance = true; window-padding-color = "extend"; window-theme = "system";