Compare commits

...

2 Commits

Author SHA1 Message Date
a158f78d3e Configure tab indentation for shell 2026-03-14 20:28:25 -04:00
3fffcb381e Add initial tmux configuration 2026-03-14 20:22:41 -04:00
2 changed files with 27 additions and 0 deletions

25
tmux/.tmux.conf Normal file
View File

@@ -0,0 +1,25 @@
# prefix+r to reload
bind r source-file ~/.tmux.conf \; display "Config reloaded!"
# long history, 2k default
set-option -g history-limit 100000
# vi-style key bindings in copy mode, etc
set-window-option -g mode-keys vi
# Trying out mouse mode for now, use shift to bypass to local emulator
bind-key m set-option -g mouse \; display "Mouse: #{?mouse,ON,OFF}"
set -g mouse on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# F12 to toggle whether tmux commands affect local or nested (remote) session
bind -T root F12 \
set prefix None \;\
set key-table off \;\
refresh-client -S
bind -T off F12 \
set -u prefix \;\
set -u key-table \;\
refresh-client -S

View File

@@ -18,3 +18,5 @@ if &term =~ '256color'
set t_ut=
endif
" Use tabs in shell
autocmd FileType sh setlocal tabstop=4 shiftwidth=4 noexpandtab