summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-07-17 22:17:19 -0500
committerzachir <zachir@librem.one>2023-07-17 22:23:02 -0500
commite6e39108c14cf31ff014148f06f07d2dbb3d7546 (patch)
treeb773dd2e52dd9a43ffa7c5ee3315b9d41054ed3f
parentd300dc0020fbe7579be489a03ece7b62ad33ffd2 (diff)
Add resize keybindings and sync to mon
-rw-r--r--kitty/kitty.conf13
1 files changed, 7 insertions, 6 deletions
diff --git a/kitty/kitty.conf b/kitty/kitty.conf
index e15933c..3adc435 100644
--- a/kitty/kitty.conf
+++ b/kitty/kitty.conf
@@ -639,7 +639,7 @@ focus_follows_mouse yes
#: Performance tuning {{{
-# repaint_delay 8.3
+repaint_delay 10
#: Delay between screen updates (in milliseconds). Decreasing it,
#: increases frames-per-second (FPS) at the cost of more CPU usage.
@@ -657,7 +657,7 @@ focus_follows_mouse yes
#: in full screen programs that redraw the entire screen on each loop,
#: because kitty is so fast that partial screen updates will be drawn.
-sync_to_monitor no
+sync_to_monitor yes
#: Sync screen updates to the refresh rate of the monitor. This
#: prevents screen tearing
@@ -2069,22 +2069,23 @@ color15 #ffffff
#: Increase font size
-# map kitty_mod+equal change_font_size all +2.0
+map kitty_mod+equal change_font_size all +0.5
# map kitty_mod+plus change_font_size all +2.0
# map kitty_mod+kp_add change_font_size all +2.0
# map cmd+plus change_font_size all +2.0
-# map cmd+equal change_font_size all +2.0
+map cmd+equal change_font_size all +0.5
# map shift+cmd+equal change_font_size all +2.0
#: Decrease font size
-# map kitty_mod+minus change_font_size all -2.0
+map kitty_mod+minus change_font_size all -0.5
# map kitty_mod+kp_subtract change_font_size all -2.0
-# map cmd+minus change_font_size all -2.0
+map cmd+minus change_font_size all -0.5
# map shift+cmd+minus change_font_size all -2.0
#: Reset font size
+map kitty_mod+plus change_font_size all 0
# map kitty_mod+backspace change_font_size all 0
# map cmd+0 change_font_size all 0