From 30b9d2adb82cbfe273bf8b4a5accfd6dd3ef78cf Mon Sep 17 00:00:00 2001
From: zachir <zachir@librem.one>
Date: Mon, 17 Jul 2023 22:17:19 -0500
Subject: Add resize keybindings and sync to mon

---
 kitty/kitty.conf | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'kitty')

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
 
-- 
cgit v1.2.3