some tmux changes

- open new pane in current directory
- add info, when config is reloaded
- set terminal title
This commit is contained in:
2016-04-23 14:30:09 +02:00
parent 24d91f3330
commit 9986ff5df2
3 changed files with 15 additions and 4 deletions

View File

@@ -102,9 +102,9 @@ unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
# split panes using | and -
bind | split-window -h
bind - split-window -v
# split panes using | and -, open new pane in current directory
bind | send-keys " ~/.tmux/newpanes -h" C-m
bind - send-keys " ~/.tmux/newpanes -v" C-m
unbind '"'
unbind %
@@ -115,8 +115,13 @@ setw -g pane-base-index 1
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
bind r source-file ~/.tmux.conf \; display "tmux config reloaded..."
# Setup 'x' zoom into a panes (maximize) an save/restore other panes in the current window
bind x run ". ~/.tmux/zoom"
# set terminal title
set -g set-titles on
set -g set-titles-string '#(whoami)@#h | #(curl ipecho.net/plain;echo)'