Last active 1743966665

hash revised this gist 1743966664. Go to revision

1 file changed, 46 insertions

.tmux.conf(file created)

@@ -0,0 +1,46 @@
1 + # Number windows and panes starting at 1 so that we can jump to them easier.
2 + set -g base-index 1
3 + set -g pane-base-index 1
4 +
5 + # Makes pressing ESC in VIM happen without delay (https://github.com/neovim/neovim/wiki/FAQ#esc-in-tmux-or-gnu-screen-is-delayed)
6 + set -g escape-time 10
7 +
8 + # Enable mouse mode
9 + set-option -g mouse on
10 +
11 + # Set the prefix to Ctrl+F
12 + set-option -g prefix C-t
13 +
14 + # Allow certain keybindings to be repeated. For example resizing with arrow keys is continous when key is held.
15 + set-option -g repeat-time 500
16 +
17 + # Enable the status line
18 + set-option -g status on
19 +
20 +
21 + # Settings related to to the window titles.
22 + # Disable automatic renaming of windows
23 + set-window-option -g automatic-rename off
24 + set-window-option -g allow-rename off
25 + # Only display the window title if it was set manually and isn't login
26 + #set-window-option -g window-status-format " #I #{?#{!=:#W,"login"},#W ,}"
27 + set-window-option -g window-status-format " #I "
28 + # If the current window is the only one, don't display anything. Otherwise display the Number.
29 + set-window-option -g window-status-current-format "#{?#{!=:#{session_windows},1}, #I ,}"
30 +
31 + # Color of the command mode
32 +
33 + # Set the color of the borders
34 +
35 + # Set TERM to something sensible
36 + set -g default-terminal "xterm-256color"
37 +
38 + # ¯\_(ツ)_/¯
39 + set-option -ga terminal-overrides ",xterm*:Tc"
40 +
41 + # Open split window with current path
42 + #bind c new-window -c "#{pane_current_path}"
43 + bind '"' split-window -vc "#{pane_current_path}"
44 + bind % split-window -hc "#{pane_current_path}"
45 +
46 + bind C-t send-prefix
Newer Older