tmux add mapping

This commit is contained in:
thek4n 2024-04-03 10:05:34 +03:00
parent 8e3d11b2c8
commit c170508a26
2 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,7 @@ opt.autoindent = true
opt.smartindent = true
-- tabline
opt.showtabline = 1
opt.showtabline = 0
opt.cursorline = true
opt.wrap = false

View File

@ -19,6 +19,9 @@ bind -T off F12 \
# Switch new named session
bind n command-prompt -p "New session:" "new-session -A -d -s '%1' \; switch-client -t '%1'"
# Kill session and reattach to last session
bind k confirm-before -p "kill current session? (y/n)" "switch-client -l \; kill-session -t '#S'"
# Call prompt via Alt+;
bind -n 'M-;' command-prompt