Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .devcontainer/tmux.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
set -g default-terminal "screen-256color"

#----------------------------
# Key bindings
#----------------------------
Expand All @@ -19,7 +20,19 @@ bind -n S-down new-window
bind -n S-left prev
bind -n S-right next
# quick view of processes
bind '~' split-window "exec htop"
bind '~' split-window "exec top"

#----------------------------
# Window moving / reordering
#----------------------------
# Shift+Up: prompt for a target index and swap the current window there.
# Focus follows the window to its new slot (no -d).
bind -n S-up command-prompt -p "move window to:" "swap-window -t '%%'"
# Renumber all windows sequentially to close gaps left by closed windows.
bind R move-window -r
# Automatically insert windows in the gaps when we create new ones
set-option -g renumber-windows on

#--------------------------
# Statusbar
#--------------------------
Expand All @@ -36,6 +49,7 @@ set-window-option -g window-status-style fg=white,bg=default,dim
set-window-option -g window-status-current-style fg=white,bg=default,bright
# command/message line colors
set -g message-style fg=white,bg=black,bright

#----------------------------
# Miscellaneous
#----------------------------
Expand Down