chore: tmux config update, homebrew cleanshit up

This commit is contained in:
Rasyidan Akbar F. 2026-03-25 15:27:24 +07:00
commit 11c34eecb8
2 changed files with 21 additions and 4 deletions

View file

@ -38,7 +38,6 @@ in
"obs"
"neohtop"
"orbstack"
"ghostty"
"openvpn-connect"
];
description = "Homebrew casks to install.";

View file

@ -21,7 +21,7 @@
set-option -ga terminal-overrides ",*256col*:Tc"
set-option -g focus-events on
# 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
setw -g automatic-rename on
set -g renumber-windows on
@ -31,7 +31,25 @@
unbind '"'
unbind %
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
set -g default-shell "${config.home.profileDirectory}/bin/nu"
set -g default-command "${config.home.profileDirectory}/bin/nu --login"