aboutsummaryrefslogtreecommitdiffstats
path: root/tmux
diff options
context:
space:
mode:
authorJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-02-21 01:04:26 -0500
committerJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-02-21 01:04:26 -0500
commit11b04ad1e5ef81d42c4384af94d7ba4161f0c160 (patch)
tree1438bb5285499d984db60a29ec18eded634c9bf4 /tmux
parent118592d53cb9a509831030de348963029aa603a8 (diff)
Added nvim and tmux config
Diffstat (limited to 'tmux')
-rw-r--r--tmux/remote.tmux.conf3
-rw-r--r--tmux/theme.tmux.conf10
-rw-r--r--tmux/tmux.conf33
3 files changed, 46 insertions, 0 deletions
diff --git a/tmux/remote.tmux.conf b/tmux/remote.tmux.conf
new file mode 100644
index 0000000..3eb5161
--- /dev/null
+++ b/tmux/remote.tmux.conf
@@ -0,0 +1,3 @@
+# vim:fileencoding=utf-8:ft=tmux
+
+set -g prefix C-b
diff --git a/tmux/theme.tmux.conf b/tmux/theme.tmux.conf
new file mode 100644
index 0000000..7286ff9
--- /dev/null
+++ b/tmux/theme.tmux.conf
@@ -0,0 +1,10 @@
+# vim:fileencoding=utf-8:ft=tmux
+
+set -g pane-border-lines heavy
+set -g clock-mode-style 24
+set -g monitor-bell on
+set -g monitor-activity on
+
+
+# Statusbar
+set -g status-position top
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
new file mode 100644
index 0000000..c86cc6c
--- /dev/null
+++ b/tmux/tmux.conf
@@ -0,0 +1,33 @@
+set -g mouse on
+unbind C-b
+set -g prefix C-a
+set-option -sg escape-time 10
+set -g status-keys vi
+set -g base-index 1
+set -g pane-base-index 1
+set -g default-shell /bin/zsh
+
+set -g mode-keys vi
+
+set -g editor $EDITOR
+set -g renumber-windows on
+
+
+#vi bindings
+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
+
+# Pane splitting
+bind | split-window -h
+bind _ split-window -v
+
+
+# Sourcing
+source-file ~/.config/tmux/theme.tmux.conf
+if-shell 'test -n "$SSH_CLIENT"' 'source-file ~/.config/tmux/remote.tmux.conf'