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:17:19 -0500
commit30b9d2adb82cbfe273bf8b4a5accfd6dd3ef78cf (patch)
tree2c748d8cc604209cce2ec4b1666f0131e7e6715b
parent2df3c930b2f4300a9b8e0025498c1e393a7ab0b8 (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