Mercurial > dotfiles
comparison tmux/tmux.conf @ 468:979513155f17
Tmux config tweaks
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 09 Apr 2019 18:54:30 -0700 |
parents | c05a8f250042 |
children |
comparison
equal
deleted
inserted
replaced
467:d3ff438a4f8b | 468:979513155f17 |
---|---|
4 set -g prefix C-a | 4 set -g prefix C-a |
5 bind C-a send-prefix | 5 bind C-a send-prefix |
6 | 6 |
7 # Start at 1, so you don't have to reach to that 0 on the right of the keyboard so often. | 7 # Start at 1, so you don't have to reach to that 0 on the right of the keyboard so often. |
8 set -g base-index 1 | 8 set -g base-index 1 |
9 # Renumber windows when a window is closed | |
10 # This guarantees it will be easier for you to switch | |
11 # between windows as you keep opening and closing them | |
12 set -g renumber-windows on | |
13 | |
14 # Automatically set window title according to the running program | |
15 set-window-option -g automatic-rename on | |
16 set-option -g set-titles on | |
9 | 17 |
10 # Thyme integration | 18 # Thyme integration |
11 #set-option -g status-right '#(cat ~/.thyme-tmux)' | 19 #set-option -g status-right '#(cat ~/.thyme-tmux)' |
12 #set-option -g status-interval 1 | 20 #set-option -g status-interval 1 |
13 | 21 |
14 # Default to fish | 22 # Default to fish |
15 set -g default-command "fish" | 23 set -g default-command "fish" |
16 | 24 |
17 set -g default-terminal "xterm" | 25 set -g default-terminal "xterm" |
18 | 26 |
27 set -s escape-time 0 | |
28 | |
29 bind - split-window -v | |
30 bind | split-window -h | |
31 | |
32 # Workaround to allow accessing OSX pasteboard | |
33 # set-option -g default-command "reattach-to-user-namespace -l zsh" | |
34 | |
35 # Vi copypaste | |
36 # setw -g mode-keys vi | |
37 # unbind p | |
38 # bind p paste-buffer | |
39 # bind-key -T copy-mode-vi v send-keys -X begin-selection | |
40 # bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel |