summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorSanto Cariotti <dcariotti24@gmail.com>2020-05-20 19:37:27 +0200
committerSanto Cariotti <dcariotti24@gmail.com>2020-05-20 19:37:27 +0200
commitcc410ed2e9eb8be3baad3d9eb6743875eb936580 (patch)
tree55e73fdcc406ef7628c2e5b41bbcac56ca0476ae /tmux
parenta3b398935ecce8bccb592e24a53c8a9870d2653c (diff)
feat: add tmux
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..5532581
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,28 @@
+set-option -ga terminal-overrides ",xterm-256color-italic:Tc"
+
+set -g status-bg '#2ecc71'
+set -g status-fg '#ecf0f1'
+set -g history-limit 50000
+set -g mouse on
+
+set -g status-left ''
+set -g status-right "%d/%m/%Y %H:%M"
+
+set -g renumber-windows on
+bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
+
+# select pane
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+# select window
+bind -r C-h select-window -t :-
+bind -r C-l select-window -t :+
+
+# resize pane
+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