summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2014-04-14 20:37:00 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2014-04-14 20:37:00 +0200
commit5613ac0dfa0ca5bfd69856371e509f4a1b317bae (patch)
tree88b9be3ae899eebfbc69c4d13322c36fcd6bc1ae
parent12f0821de2a225e30c4ef53f4ee9900bf358dcf4 (diff)
downloaddotfiles-5613ac0dfa0ca5bfd69856371e509f4a1b317bae.tar.gz
dotfiles-5613ac0dfa0ca5bfd69856371e509f4a1b317bae.tar.xz
dotfiles-5613ac0dfa0ca5bfd69856371e509f4a1b317bae.zip
tmux: add two new keybindings
-rw-r--r--tmux/tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 75b71a4..194d913 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -19,6 +19,8 @@ bind -r Left previous-window
# ctrl-up for scrolling within the 'screen'
# bind -n C-Up copy-mode
+bind C command-prompt -p "Name:" "new-session -s %1"
+
# start numbering sessions at 1, not 0
set -g base-index 1
# set hist-limit to 5000
@@ -37,6 +39,7 @@ set -g bell-action any
# choose-session with C-a _
bind _ choose-session
+bind - choose-window
# bashrc makes takes care of window titles
setw -g automatic-rename off