diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 00:55:29 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 16:21:34 +0100 |
commit | 4a3d2a8ddaf4e546df360656bc54b2947bdb890b (patch) | |
tree | f571511e0b74fbd7e78f7e10966a8d6d5d400241 /user-profiles/tmux/tmux.conf | |
parent | 3b5ab82fa714a0d483a7b90d60f9f7c857646e33 (diff) | |
download | nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.tar nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.tar.gz nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.tar.bz2 nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.tar.xz nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.zip |
gkleen@sif: import
Diffstat (limited to 'user-profiles/tmux/tmux.conf')
-rw-r--r-- | user-profiles/tmux/tmux.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/user-profiles/tmux/tmux.conf b/user-profiles/tmux/tmux.conf new file mode 100644 index 00000000..1403698d --- /dev/null +++ b/user-profiles/tmux/tmux.conf | |||
@@ -0,0 +1,25 @@ | |||
1 | set-option -g history-limit 50000 | ||
2 | set-option -g status-bg black | ||
3 | set-option -g status-fg white | ||
4 | set-option -g clock-mode-colour white | ||
5 | set-option -g clock-mode-style 24 | ||
6 | set-option -g bell-action any | ||
7 | set-option -g default-shell @zsh@/bin/zsh | ||
8 | set-option -g update-environment 'DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY PROMPT_INFO PATH PGHOST PGLOG' | ||
9 | set-option -g mouse on | ||
10 | set-option -g set-clipboard on | ||
11 | set-option -g terminal-overrides 'rxvt-uni*:XT:Ms=\E]52;%p1%s;%p2%s\007' | ||
12 | |||
13 | ## determine if we should enable 256-colour support | ||
14 | if "[[ ''${TERM} =~ 256color || ''${TERM} == fbterm ]]" 'set -g default-terminal tmux-256color' | ||
15 | |||
16 | set-option -g status-right "" | ||
17 | |||
18 | bind / command-prompt "split-window -h 'exec @mandb@/bin/man %%'" | ||
19 | bind C clock-mode | ||
20 | bind r respawn-pane -k | ||
21 | |||
22 | bind -n M-Left select-pane -L | ||
23 | bind -n M-Right select-pane -R | ||
24 | bind -n M-Up select-pane -U | ||
25 | bind -n M-Down select-pane -D \ No newline at end of file | ||