diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-08-16 11:20:18 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-08-16 11:20:18 +0200 |
| commit | ec75775b276a8c323ae01bbd71b998a7f3c44e39 (patch) | |
| tree | 8412e10e161553459fe8292cc021bff643015fea /.tmux.conf | |
| download | dotfiles-ec75775b276a8c323ae01bbd71b998a7f3c44e39.tar.gz dotfiles-ec75775b276a8c323ae01bbd71b998a7f3c44e39.tar.bz2 dotfiles-ec75775b276a8c323ae01bbd71b998a7f3c44e39.zip | |
Initial commit for dotfiles
Diffstat (limited to '.tmux.conf')
| -rw-r--r-- | .tmux.conf | 35 |
1 files changed, 35 insertions, 0 deletions
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 |
