mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-03 19:37:52 +00:00
feat(config): add CSI‑u shift+enter handling and new shortcut bindings
This commit is contained in:
1 parent
8cd148bafd
commit
964f8a83b6
3 files changed
+28
-7
No files matched your search
@@ -37,14 +37,23 @@ keybind = ctrl+plus=increase_font_size:1
|
||||
keybind = ctrl+minus=decrease_font_size:1
|
||||
keybind = ctrl+zero=reset_font_size
|
||||
keybind = ctrl+shift+period=reload_config
|
||||
keybind = shift+enter=text:\n
|
||||
# shift+enter as CSI-u (ESC[13;2u), the newline-in-prompt key coding agents
|
||||
# (omp, claude) read. Never \n: that is ctrl+j, tmux's pane-down key.
|
||||
keybind = shift+enter=text:\x1b[13;2u
|
||||
|
||||
# command palette: ctrl+space is tmux's root-table C-Space (tmux-palette);
|
||||
# sent explicitly as NUL so no keyboard-protocol mode can turn it into a CSI
|
||||
keybind = ctrl+space=text:\x00
|
||||
# project tasks palette (pj): tmux prefix t
|
||||
keybind = ctrl+shift+p=text:\x02t
|
||||
keybind = ctrl+shift+space=text:\x02t
|
||||
|
||||
# launchers (kitty's ctrl+shift chords), tmux prefix y/e/g/a
|
||||
keybind = ctrl+shift+f=text:\x02y
|
||||
keybind = ctrl+shift+e=text:\x02e
|
||||
keybind = ctrl+shift+g=text:\x02g
|
||||
keybind = ctrl+shift+a=text:\x02a
|
||||
|
||||
# tabs → tmux windows
|
||||
keybind = ctrl+shift+t=text:\x02c
|
||||
keybind = ctrl+shift+w=text:\x02k
|
||||
@@ -60,7 +69,6 @@ keybind = ctrl+shift+h=text:\x02p
|
||||
|
||||
# splits → tmux panes
|
||||
keybind = ctrl+shift+l=text:\x02v
|
||||
keybind = ctrl+shift+e=text:\x02h
|
||||
keybind = ctrl+shift+j=text:\x02h
|
||||
keybind = ctrl+shift+x=text:\x02x
|
||||
|
||||
@@ -69,10 +77,8 @@ keybind = ctrl+shift+o=text:\x02o
|
||||
keybind = ctrl+shift+enter=text:\x02z
|
||||
keybind = ctrl+shift+z=text:\x02z
|
||||
|
||||
# scrollback, prompt, help
|
||||
keybind = ctrl+shift+f=text:\x02/
|
||||
# scrollback, help (search scrollback: tmux prefix /)
|
||||
keybind = ctrl+shift+page_up=text:\x02[
|
||||
keybind = ctrl+shift+p=text:\x02:
|
||||
keybind = ctrl+shift+slash=text:\x02?
|
||||
keybind = ctrl+shift+alt+,=text:\x02q
|
||||
|
||||
|
||||
Reference in new issue
Block a user