From f55dc035445e98bf88065858061aaf600616eb60 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Tue, 20 Oct 2020 17:18:52 -0300 Subject: [PATCH] add tmux.conf --- config.yaml | 3 +++ dotfiles/tmux.conf | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 dotfiles/tmux.conf diff --git a/config.yaml b/config.yaml index 053505a..1795438 100644 --- a/config.yaml +++ b/config.yaml @@ -201,6 +201,9 @@ dotfiles: # {{{ dst: ~/.gnupg/gpg-agent.conf actions: - pam_gpg + tmux: + src: tmux.conf + dst: ~/.tmux.conf # }}} actions: #{{{ notify: notify-send "Updating dotfiles" "{{@@ _dotfile_abs_dst.lstrip(env['HOME']) @@}}" diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf new file mode 100644 index 0000000..62747a4 --- /dev/null +++ b/dotfiles/tmux.conf @@ -0,0 +1,24 @@ +# _____ +# |_ _| __ ___ _ ___ __ +# | || '_ ` _ \| | | \ \/ / +# | || | | | | | |_| |> < +# |_||_| |_| |_|\__,_/_/\_\ + +set -g escape-time 0 +set -g mouse on + +bind n select-pane -L +bind e select-pane -D +bind i select-pane -U +bind o select-pane -R + +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" + +bind r source-file ~/.tmux.conf + +set -g pane-border-style "fg=default" +set -g pane-active-border-style "fg=#cc5757 bg=default" + +set -g status-bg default +set -g status off