This commit is contained in:
2025-12-07 18:48:02 +00:00
parent e9ca6f7082
commit 5ffc361072
3 changed files with 67 additions and 54 deletions

View File

@@ -22,9 +22,9 @@ keybind = all:unconsumed:super+ctrl+bracket_left=unbind
#goto_split:next
keybind = all:unconsumed:super+ctrl+bracket_right=unbind
#goto_split:down
keybind = all:unconsumed:ctrl+alt+arrow_down=unbind
keybind = all:unconsumed:ctrl+alt+arrow_down=unbind
#goto_split:left
keybind = all:unconsumed:ctrl+alt+arrow_left=unbind
keybind = all:unconsumed:ctrl+alt+arrow_left=unbind
#goto_split:right
keybind = all:unconsumed:ctrl+alt+arrow_right=unbind
#goto_split:up

View File

@@ -27,14 +27,6 @@ bind-key -n C-S-Right swap-window -t +1
# Remove the delay for the escape key so vim is usable
set -g escape-time 0
# Proxy focus events
set -g focus-events on
# Settings for yazi image preview in tmux https://yazi-rs.github.io/docs/image-preview/
set -g allow-passthrough on
set -ga update-environment TERM
set -ga update-environment TERM_PROGRAM
# Set the default terminal mode to 256color mode.
set -g default-terminal "screen-256color"
@@ -68,3 +60,24 @@ set -g message-style bold,fg="colour16",bg="colour221"
# set -g status-right "#[fg=colour39, bg=colour234]⮂#[fg=colour234,bg=colour39] 🐳 "
# set -g window-status-format "#[fg=white,bg=colour234] #I #W "
# set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour25,bg=colour39,noreverse,bold] #I ⮁ #W#[fg=colour39,bg=colour234,nobold]⮀"
# Enable xterm-style key sequences and modifiers
set-option -g xterm-keys on
set -s extended-keys on
# Set terminal overrides for Ctrl+Shift support
set -g terminal-overrides "*:kUP5=\e[1;5A,*:kDN5=\e[1;5B,*:kLFT5=\e[1;5D,*:kRIT5=\e[1;5C,*:kUP6=\e[1;6A,*:kDN6=\e[1;6B,*:kLFT6=\e[1;6D,*:kRIT6=\e[1;6C"
set -s user-keys[0] "\e[80;6u"
bind-key -n User0 send-keys C-S-p
bind-key -n User0 send-keys C-S-h
bind-key -n User0 send-keys C-S-j
bind-key -n User0 send-keys C-S-k
bind-key -n User0 send-keys C-S-l
bind-key -n User0 send-keys C-S-b
bind-key -n User0 send-keys C-S-q
bind-key -n User0 send-keys C-S-s
bind-key -n User0 send-keys C-S-o
bind-key -n User0 send-keys C-S-y
bind-key -n User0 send-keys C-S-a

View File

@@ -57,47 +57,47 @@ run = "plugin smart-filter"
desc = "Smart filter"
# dedukun/relative-motions keymaps
[[mgr.prepend_keymap]]
on = [ "1" ]
run = "plugin relative-motions 1"
desc = "Move in relative steps"
[[mgr.prepend_keymap]]
on = [ "2" ]
run = "plugin relative-motions 2"
desc = "Move in relative steps"
[[mgr.prepend_keymap]]
on = [ "3" ]
run = "plugin relative-motions 3"
desc = "Move in relative steps"
[[mgr.prepend_keymap]]
on = [ "4" ]
run = "plugin relative-motions 4"
desc = "Move in relative steps"
[[mgr.prepend_keymap]]
on = [ "5" ]
run = "plugin relative-motions 5"
desc = "Move in relative steps"
[[mgr.prepend_keymap]]
on = [ "6" ]
run = "plugin relative-motions 6"
desc = "Move in relative steps"
[[mgr.prepend_keymap]]
on = [ "7" ]
run = "plugin relative-motions 7"
desc = "Move in relative steps"
[[mgr.prepend_keymap]]
on = [ "8" ]
run = "plugin relative-motions 8"
desc = "Move in relative steps"
[[mgr.prepend_keymap]]
on = [ "9" ]
run = "plugin relative-motions 9"
desc = "Move in relative steps"
# [[mgr.prepend_keymap]]
# on = [ "1" ]
# run = "plugin relative-motions 1"
# desc = "Move in relative steps"
#
# [[mgr.prepend_keymap]]
# on = [ "2" ]
# run = "plugin relative-motions 2"
# desc = "Move in relative steps"
#
# [[mgr.prepend_keymap]]
# on = [ "3" ]
# run = "plugin relative-motions 3"
# desc = "Move in relative steps"
#
# [[mgr.prepend_keymap]]
# on = [ "4" ]
# run = "plugin relative-motions 4"
# desc = "Move in relative steps"
#
# [[mgr.prepend_keymap]]
# on = [ "5" ]
# run = "plugin relative-motions 5"
# desc = "Move in relative steps"
#
# [[mgr.prepend_keymap]]
# on = [ "6" ]
# run = "plugin relative-motions 6"
# desc = "Move in relative steps"
#
# [[mgr.prepend_keymap]]
# on = [ "7" ]
# run = "plugin relative-motions 7"
# desc = "Move in relative steps"
#
# [[mgr.prepend_keymap]]
# on = [ "8" ]
# run = "plugin relative-motions 8"
# desc = "Move in relative steps"
#
# [[mgr.prepend_keymap]]
# on = [ "9" ]
# run = "plugin relative-motions 9"
# desc = "Move in relative steps"