chore: tmux config update, homebrew cleanshit up
This commit is contained in:
parent
00f12b623f
commit
11c34eecb8
2 changed files with 21 additions and 4 deletions
|
|
@ -38,7 +38,6 @@ in
|
||||||
"obs"
|
"obs"
|
||||||
"neohtop"
|
"neohtop"
|
||||||
"orbstack"
|
"orbstack"
|
||||||
"ghostty"
|
|
||||||
"openvpn-connect"
|
"openvpn-connect"
|
||||||
];
|
];
|
||||||
description = "Homebrew casks to install.";
|
description = "Homebrew casks to install.";
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
set-option -ga terminal-overrides ",*256col*:Tc"
|
set-option -ga terminal-overrides ",*256col*:Tc"
|
||||||
set-option -g focus-events on
|
set-option -g focus-events on
|
||||||
# Avoid CSI-u newline remapping that breaks Neovim pastes
|
# Avoid CSI-u newline remapping that breaks Neovim pastes
|
||||||
set -as terminal-features 'xterm-ghostty:bpaste,clipboard,RGB'
|
set -as terminal-features 'xterm-kitty:clipboard,RGB'
|
||||||
set -g status-interval 5
|
set -g status-interval 5
|
||||||
setw -g automatic-rename on
|
setw -g automatic-rename on
|
||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
|
|
@ -31,7 +31,25 @@
|
||||||
unbind '"'
|
unbind '"'
|
||||||
unbind %
|
unbind %
|
||||||
set -g display-panes-time 1500
|
set -g display-panes-time 1500
|
||||||
bind k send-keys -R \; send-keys C-l \; clear-history
|
bind C-k send-keys -R \; send-keys C-l \; clear-history
|
||||||
|
|
||||||
|
# Vim-style pane navigation (prefix + hjkl)
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
# No-prefix pane switching (Option + arrow)
|
||||||
|
bind -n M-Left select-pane -L
|
||||||
|
bind -n M-Right select-pane -R
|
||||||
|
bind -n M-Up select-pane -U
|
||||||
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
|
# Pane resizing (prefix + Shift+hjkl)
|
||||||
|
bind H resize-pane -L 5
|
||||||
|
bind J resize-pane -D 5
|
||||||
|
bind K resize-pane -U 5
|
||||||
|
bind L resize-pane -R 5
|
||||||
# Ensure tmux panes spawn login nu so Starship integration runs
|
# Ensure tmux panes spawn login nu so Starship integration runs
|
||||||
set -g default-shell "${config.home.profileDirectory}/bin/nu"
|
set -g default-shell "${config.home.profileDirectory}/bin/nu"
|
||||||
set -g default-command "${config.home.profileDirectory}/bin/nu --login"
|
set -g default-command "${config.home.profileDirectory}/bin/nu --login"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue