aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base.yaml1
-rw-r--r--base/tmux.conf47
2 files changed, 48 insertions, 0 deletions
diff --git a/base.yaml b/base.yaml
index 89f0ea8..0dde941 100644
--- a/base.yaml
+++ b/base.yaml
@@ -15,6 +15,7 @@
~/.curlrc: base/curlrc
~/.makepkg.conf: base/makepkg.conf
~/.npmrc: base/npmrc
+ ~/.tmux.conf: base/tmux.conf
~/.vim/colors: base/vim/colors
~/.vim/doc: base/vim/doc
~/.vim/ftdetect: base/vim/ftdetect
diff --git a/base/tmux.conf b/base/tmux.conf
new file mode 100644
index 0000000..0f3aa0e
--- /dev/null
+++ b/base/tmux.conf
@@ -0,0 +1,47 @@
+bind r source-file ~/.tmux.conf
+
+#set -g utf8
+#set-window-option -g utf8 on
+
+set -g base-index 1
+set -g pane-base-index 1
+set -g renumber-windows on
+set -g default-terminal "screen-256color"
+set -g history-limit 4096
+
+set -g set-titles on
+set -g set-titles-string '#h :: #S'
+
+set -g monitor-activity on
+set -g visual-activity off
+
+set -g status-bg default
+set -g status-fg brightblack
+set -g status-interval 5
+set -g status-left-length 90
+set -g status-right-length 60
+set -g status-justify left
+set -g status-right "%a %d %b %R"
+
+unbind C-b
+set -g prefix C-a
+bind C-a send-prefix
+
+unbind-key h
+unbind-key j
+unbind-key k
+unbind-key l
+bind-key h select-pane -L
+bind-key j select-pane -D
+bind-key k select-pane -U
+bind-key l select-pane -R
+
+unbind-key V
+unbind-key H
+bind-key V split-window -hc "#{pane_current_path}"
+bind-key H split-window -c "#{pane_current_path}"
+
+set -g status-keys vi
+set -g mode-keys vi
+
+if '[ -f ~/.tmux.conf.local ]' 'source ~/.tmux.conf.local'