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

@@ -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 # Remove the delay for the escape key so vim is usable
set -g escape-time 0 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 the default terminal mode to 256color mode.
set -g default-terminal "screen-256color" 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 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-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]⮀" # 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" desc = "Smart filter"
# dedukun/relative-motions keymaps # dedukun/relative-motions keymaps
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "1" ] # on = [ "1" ]
run = "plugin relative-motions 1" # run = "plugin relative-motions 1"
desc = "Move in relative steps" # desc = "Move in relative steps"
#
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "2" ] # on = [ "2" ]
run = "plugin relative-motions 2" # run = "plugin relative-motions 2"
desc = "Move in relative steps" # desc = "Move in relative steps"
#
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "3" ] # on = [ "3" ]
run = "plugin relative-motions 3" # run = "plugin relative-motions 3"
desc = "Move in relative steps" # desc = "Move in relative steps"
#
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "4" ] # on = [ "4" ]
run = "plugin relative-motions 4" # run = "plugin relative-motions 4"
desc = "Move in relative steps" # desc = "Move in relative steps"
#
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "5" ] # on = [ "5" ]
run = "plugin relative-motions 5" # run = "plugin relative-motions 5"
desc = "Move in relative steps" # desc = "Move in relative steps"
#
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "6" ] # on = [ "6" ]
run = "plugin relative-motions 6" # run = "plugin relative-motions 6"
desc = "Move in relative steps" # desc = "Move in relative steps"
#
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "7" ] # on = [ "7" ]
run = "plugin relative-motions 7" # run = "plugin relative-motions 7"
desc = "Move in relative steps" # desc = "Move in relative steps"
#
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "8" ] # on = [ "8" ]
run = "plugin relative-motions 8" # run = "plugin relative-motions 8"
desc = "Move in relative steps" # desc = "Move in relative steps"
#
[[mgr.prepend_keymap]] # [[mgr.prepend_keymap]]
on = [ "9" ] # on = [ "9" ]
run = "plugin relative-motions 9" # run = "plugin relative-motions 9"
desc = "Move in relative steps" # desc = "Move in relative steps"