mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
chs: re-add drifted files
This commit is contained in:
1 parent
f9c1781f8c
commit
3636314f6d
4 files changed
+22
-14
No files matched your search
+10
-11
@@ -5,7 +5,7 @@
|
||||
# prefix byte is the shift variant (\x02N == prefix+shift+n).
|
||||
|
||||
# ── base / appearance ──
|
||||
font_size 13
|
||||
font_size 12.5
|
||||
font_family VictorMono Nerd Font
|
||||
bold_italic_font auto
|
||||
window_padding_width 8
|
||||
@@ -30,7 +30,6 @@ shell herdr
|
||||
# ── ghostty parity: plain shortcuts ──
|
||||
map super+c copy_to_clipboard
|
||||
map super+v paste_from_clipboard
|
||||
map super+n new_os_window
|
||||
map ctrl+plus change_font_size current +1
|
||||
map ctrl+minus change_font_size current -1
|
||||
map ctrl+0 change_font_size current 0
|
||||
@@ -40,17 +39,17 @@ map shift+enter send_text all \n
|
||||
map ctrl+shift+alt+, load_config_file
|
||||
|
||||
# ── herdr sync: ctrl+shift chords → prefix (\x02 = ctrl+b) bytes ──
|
||||
map ctrl+shift+n send_text all \x02%
|
||||
map ctrl+shift+t send_text all \x02c
|
||||
map ctrl+tab send_text all \x02n
|
||||
map ctrl+shift+tab send_text all \x02p
|
||||
map ctrl+shift+f send_text all \x02s
|
||||
map ctrl+shift+l send_text all \x02.
|
||||
map ctrl+shift+h send_text all \x02,
|
||||
map super+n send_text all \x02N
|
||||
map super+t send_text all \x02c
|
||||
map ctrl+tab send_text all \x02.
|
||||
map ctrl+shift+tab send_text all \x02,
|
||||
map ctrl+shift+f send_text all \x02g
|
||||
map ctrl+shift+h send_text all \x02n
|
||||
map ctrl+shift+l send_text all \x02p
|
||||
map ctrl+shift+j send_text all \x02j
|
||||
map ctrl+shift+k send_text all \x02k
|
||||
map super+enter send_text all \x02N
|
||||
map super+r send_text all \x02W
|
||||
map super+enter send_text all \x02%
|
||||
map ctrl+shift+w send_text all \x02W
|
||||
map ctrl+shift+r send_text all \x02T
|
||||
map ctrl+shift+, send_text all \x02S
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# ── base.conf · shared ──
|
||||
font_size 13
|
||||
font_size 12.5
|
||||
font_family VictorMono Nerd Font
|
||||
bold_italic_font auto
|
||||
window_padding_width 8
|
||||
@@ -10,6 +10,10 @@ copy_on_select auto
|
||||
strip_trailing_spaces smart
|
||||
confirm_os_window_close 0
|
||||
allow_remote_control socket-only
|
||||
# socket-only remote control needs a socket: this also exports KITTY_LISTEN_ON
|
||||
# into every pane, which is how nvim (config.pane_nav) knows kitty owns the
|
||||
# panes and how it hands an at-edge <C-h/j/k/l> back to kitty.
|
||||
listen_on unix:@kitty-{kitty_pid}
|
||||
cursor_trail 10
|
||||
cursor_trail_start_threshold 0
|
||||
cursor_trail_decay 0.01 0.05
|
||||
@@ -89,4 +93,5 @@ bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
# END_KITTY_FONTS
|
||||
#
|
||||
include themes/cyberdream.conf
|
||||
@@ -3,7 +3,11 @@ import re
|
||||
from kittens.tui.handler import result_handler
|
||||
from kitty.key_encoding import KeyEvent, parse_shortcut
|
||||
|
||||
PASSTHROUGH = r'\b(vim|nvim|fzf)\b'
|
||||
# Windows whose foreground process owns <C-h/j/k/l> itself: (n)vim and fzf move
|
||||
# their own splits/selection, and tmux/herdr run the same vim-aware handoff one
|
||||
# layer down (tmux.conf `is_vim`, vim-herdr-navigation). Anything else means
|
||||
# kitty owns the panes, so kitty moves its own window.
|
||||
PASSTHROUGH = r'\b(vim|nvim|fzf|tmux|herdr)\b'
|
||||
|
||||
|
||||
# Return True if any foreground process in the window matches PASSTHROUGH
|
||||
|
||||
Reference in new issue
Block a user