New bind-key (C-t) to create a new-session.

This commit is contained in:
gardouille 2015-05-19 22:55:11 +02:00
parent b63e29d510
commit e10e337afd
1 changed files with 4 additions and 0 deletions

View File

@ -165,6 +165,10 @@ bind C-s set-window-option synchronize-panes
# Lister les liens présents dans une fenêtre tmux (nécessite l'installation de urlview)
bind-key u capture-pane \; save-buffer ~/.tmux/.tmux-buffer \; new-window -n "urlview" '$SHELL -c "urlview < ~/.tmux/.tmux-buffer"'
# Create a new session
unbind C-t
bind C-t command-prompt "new-session "
# Recharger la configuration de tmux
unbind R
bind-key R source-file ~/.tmux/tmux.conf