« get me outta code hell

kitty: window config - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-13 20:08:52 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-13 20:08:52 -0300
commit1c01a60a1f4d90ed7760b469647fd7c05d011bc5 (patch)
tree5a511e2ea06c49c0411172be7a51c8a8363f807e
parentabbee95e735ee1ddee1d1d551551760ace592246 (diff)
kitty: window config
-rw-r--r--kitty.conf32
1 files changed, 26 insertions, 6 deletions
diff --git a/kitty.conf b/kitty.conf
index a4eb9b6..8da045c 100644
--- a/kitty.conf
+++ b/kitty.conf
@@ -1,12 +1,32 @@
+# window settings -------------------------------
+
+remember_window_size   no
+initial_window_width   800
+initial_window_height  480
+
+# not supported on wayland, boo hoo
+resize_in_steps        yes
+
+# weird-size windows shouldn't pad top-left
+placement_strategy     top-left
+
+# keybindings -----------------------------------
+
 # jump to beginning and end of word
 map ctrl+left send_text all \x1b\x62
 map ctrl+right send_text all \x1b\x66
 
-# "Fake" keybindings, for sending input not representable by ASCII chords.
+# "fake" keybindings ----------------------------
+# for sending input not representable in ascii
+
+# tmux: swap window with previous
+map ctrl+shift+, send_key alt+shift+a
+
+# tmux: swap window with next
+map ctrl+shift+. send_key alt+shift+b
 
-map ctrl+shift+, send_key alt+shift+a   ## tmux: swap window with previous
-map ctrl+shift+. send_key alt+shift+b   ## tmux: swap window with next
-map ctrl+, send_key alt+shift+c   ## tmux: view previous window
-map ctrl+. send_key alt+shift+d   ## tmux: view next window
+# tmux: view previous window
+map ctrl+, send_key alt+shift+c
 
-# End "fake" keybindings.
+# tmux: view next window
+map ctrl+. send_key alt+shift+d