aboutsummaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf35
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