summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorGitea <gitea@fake.local>2023-11-02 16:37:53 -0400
committerGitea <gitea@fake.local>2023-11-02 16:37:53 -0400
commitf5730eb4136e56cadf51ae3395bf3aab6130131c (patch)
tree68672a352e5b658baa057f0b698840eb08192ef6 /.tmux.conf
parent20a702bc9bf78d99d2c5c4c65697ce25e78d36d7 (diff)
added basic dotfiles for serverHEADmaster
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf58
1 files changed, 58 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
new file mode 100644
index 0000000..93f48f7
--- /dev/null
+++ b/.tmux.conf
@@ -0,0 +1,58 @@
+setw -g clock-mode-style 12
+
+#start window numbering at 1
+set -g base-index 1
+set -g pane-base-index 1
+set-option -g renumber-windows on
+
+
+# Copy mode
+setw -g mode-keys vi
+unbind [
+bind Escape copy-mode
+unbind p
+bind p paste-buffer
+bind-key -T copy-mode-vi v send-keys -X begin-selection
+
+# remap prefix to Control + a
+set -g prefix C-b
+unbind C-b
+bind C-b send-prefix
+
+# remap window split commands to something easier to remember
+unbind %
+bind | split-window -h
+bind - split-window -v
+
+# force a reload of the config file
+unbind r
+bind r source-file ~/.tmux.conf
+
+# make tmux panes like Vim
+#bind h select-pane -L
+#bind j select-pane -D
+#bind k select-pane -U
+#bind l select-pane -R
+bind-key -r C-h select-window -t :-
+bind-key -r C-l select-window -t :+
+
+# quick pane cycling
+
+set -g status-left-length 52
+set -g status-right-length 451
+set -g status-fg white
+set -g status-bg colour234
+#set -g window-status-activity-attr bold
+set -g pane-border-fg colour245
+set -g pane-active-border-fg colour39
+set -g message-fg colour16
+set -g message-bg colour221
+set -g message-attr bold
+set -g status-left '#[fg=colour235,bg=colour252,bold] ❐ #S #[fg=colour252,bg=colour238,nobold]⮀#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]⮀'
+set -g window-status-format "#[fg=white,bg=colour234] #I #W "
+set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour25,bg=colour39,noreverse,bold] #I ⮁ #W#[fg=colour39,bg=colour234,nobold]⮀"
+
+
+set-window-option -g automatic-rename off
+set-option -g allow-rename off
+