From ec75775b276a8c323ae01bbd71b998a7f3c44e39 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 16 Aug 2019 11:20:18 +0200 Subject: Initial commit for dotfiles --- .tmux.conf | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .tmux.conf (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..d023ca5 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,35 @@ +unbind C-b +set -g prefix C-f +bind C-f send-prefix + +set -g default-terminal "screen.xterm-256color" +set -g mouse on +setw -g mode-keys vi + +bind '"' split-window -c "#{pane_current_path}" +bind รน split-window -h -c "#{pane_current_path}" +bind c new-window -c "#{pane_current_path}" + +unbind [ +bind y copy-mode +unbind p +bind p paste-buffer +bind-key -t vi-copy 'v' begin-selection +bind-key -t vi-copy 'y' copy-selection +bind-key -t vi-copy 'r' rectangle-toggle + +bind -t vi-copy y copy-pipe "xclip -sel clip -i" + +source-file $HOME/dotfiles/.my.tmuxtheme + +set -sg escape-time 0 + +unbind l +bind k select-pane -U +bind j select-pane -D +bind l select-pane -R +bind h select-pane -L + +bind v previous-window + +unbind m -- cgit