tmux add mapping
This commit is contained in:
parent
8e3d11b2c8
commit
c170508a26
@ -38,7 +38,7 @@ opt.autoindent = true
|
|||||||
opt.smartindent = true
|
opt.smartindent = true
|
||||||
|
|
||||||
-- tabline
|
-- tabline
|
||||||
opt.showtabline = 1
|
opt.showtabline = 0
|
||||||
|
|
||||||
opt.cursorline = true
|
opt.cursorline = true
|
||||||
opt.wrap = false
|
opt.wrap = false
|
||||||
|
|||||||
@ -19,6 +19,9 @@ bind -T off F12 \
|
|||||||
# Switch new named session
|
# Switch new named session
|
||||||
bind n command-prompt -p "New session:" "new-session -A -d -s '%1' \; switch-client -t '%1'"
|
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+;
|
# Call prompt via Alt+;
|
||||||
bind -n 'M-;' command-prompt
|
bind -n 'M-;' command-prompt
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user