From e27e4094041138d2430bd6f3123a4bbf677f508a Mon Sep 17 00:00:00 2001 From: Johannes Stolp Date: Fri, 12 Aug 2016 18:03:22 +0200 Subject: added terminess powerline font for xterm, small change in PS1 variable, reorderd tmux config and added new 'prefix f' for full screen mode --- .tmux.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.tmux.conf') 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 -- cgit v1.2.3