summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorJohannes Stolp <jstolp@fr65cs25.internal.synopsys.com>2016-08-12 18:03:22 +0200
committerJohannes Stolp <jstolp@fr65cs25.internal.synopsys.com>2016-08-12 18:03:22 +0200
commite27e4094041138d2430bd6f3123a4bbf677f508a (patch)
tree67ccaf09b3667db711b24891b97bbb91c5b4121e /.tmux.conf
parent223ea8f5199aef6b7c6b771c4448282288f18d9b (diff)
downloaddotfiles-e27e4094041138d2430bd6f3123a4bbf677f508a.tar.gz
dotfiles-e27e4094041138d2430bd6f3123a4bbf677f508a.zip
added terminess powerline font for xterm, small change in PS1 variable, reorderd tmux config and added new 'prefix f' for full screen mode
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf14
1 files changed, 13 insertions, 1 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 60612ea..343cf07 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,13 +1,25 @@
set -g prefix C-x
bind-key a send-prefix # for nested tmux sessions
+bind-key -T prefix C-q confirm-before -p "kill-window #W? (y/n)" kill-window
+bind-key -T prefix f resize-pane -Z # overwrites find window
+
+# had some struggle with vim key delay
+#set -s escape-time 0
+
# use support - set to on if you want to use the mouse
setw -g mouse on
# Set the default terminal mode to 256color mode
set -g default-terminal "screen-256color"
+# split settings
bind-key -T prefix v split-window -h
bind-key -T prefix h split-window
-bind-key -T prefix C-c confirm-before -p "kill-window #W? (y/n)" kill-window
+# Copy mode settings
+set-window-option -g mode-keys vi
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+bind-key -T prefix C-v copy-mode
+bind-key -T prefix p paste-buffer # overwrites previous window