summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf22
1 files changed, 17 insertions, 5 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 97fcccf..68bd0dd 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -1,8 +1,11 @@
-set-option -ga terminal-overrides ",xterm-256color-italic:Tc"
+#set-option -ga terminal-overrides ",xterm-256color-italic:Tc"
+set-option -g default-terminal "screen-256color"
-set -g status-bg '#2ecc71'
-set -g status-fg '#ecf0f1'
-set -g history-limit 50000
+bind c new-window -c "#{pane_current_path}"
+bind '"' split-window -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
+
+set -g history-limit 5000
setw -g mode-keys vi
set -g mouse on
@@ -11,9 +14,14 @@ bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pb
set -g status-left ''
-set -g status-right "%d/%m/%Y %H:%M"
+#set -g status-right "%a %d/%m/%Y %H:%M"
+set -g status-right ''
+
+set -g status-bg colour234
+set -g status-fg yellow
set -g renumber-windows on
+set -g history-file ~/.tmux_history
bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
# select pane
@@ -31,3 +39,7 @@ bind -r H resize-pane -L 10
bind -r J resize-pane -D 10
bind -r K resize-pane -U 10
bind -r L resize-pane -R 10
+
+# Source the vim tmuxline
+#if-shell "test -f ~/.tmuxline" "source ~/.tmuxline"
+