From 4a3d2a8ddaf4e546df360656bc54b2947bdb890b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 3 Jan 2021 00:55:29 +0100 Subject: gkleen@sif: import --- user-profiles/tmux/tmux.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 user-profiles/tmux/tmux.conf (limited to 'user-profiles/tmux/tmux.conf') 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 @@ +set-option -g history-limit 50000 +set-option -g status-bg black +set-option -g status-fg white +set-option -g clock-mode-colour white +set-option -g clock-mode-style 24 +set-option -g bell-action any +set-option -g default-shell @zsh@/bin/zsh +set-option -g update-environment 'DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY PROMPT_INFO PATH PGHOST PGLOG' +set-option -g mouse on +set-option -g set-clipboard on +set-option -g terminal-overrides 'rxvt-uni*:XT:Ms=\E]52;%p1%s;%p2%s\007' + +## determine if we should enable 256-colour support +if "[[ ''${TERM} =~ 256color || ''${TERM} == fbterm ]]" 'set -g default-terminal tmux-256color' + +set-option -g status-right "" + +bind / command-prompt "split-window -h 'exec @mandb@/bin/man %%'" +bind C clock-mode +bind r respawn-pane -k + +bind -n M-Left select-pane -L +bind -n M-Right select-pane -R +bind -n M-Up select-pane -U +bind -n M-Down select-pane -D \ No newline at end of file -- cgit v1.2.3