From dbba60c81e6f519cbcfac2bc5324aa3fb1729d41 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 14 Oct 2018 10:35:39 -0700 Subject: [tmux] Add tmux config back Also a global config for `ag`. --- configs/rcs/Makefile | 4 +++- configs/rcs/agignore | 5 +++++ configs/rcs/tmux.conf | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 configs/rcs/agignore create mode 100644 configs/rcs/tmux.conf diff --git a/configs/rcs/Makefile b/configs/rcs/Makefile index 2b78a51..6a24d52 100644 --- a/configs/rcs/Makefile +++ b/configs/rcs/Makefile @@ -2,12 +2,14 @@ INTO = $(HOME) INSTALL = \ + agignore \ aspell.en.pws \ bashrc \ ctags \ emacs.d \ gitconfig \ - gitignore + gitignore \ + tmux.conf INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL)) diff --git a/configs/rcs/agignore b/configs/rcs/agignore new file mode 100644 index 0000000..afeb483 --- /dev/null +++ b/configs/rcs/agignore @@ -0,0 +1,5 @@ +/go/pkg +*.js +*.css +*.pdf +*.git diff --git a/configs/rcs/tmux.conf b/configs/rcs/tmux.conf new file mode 100644 index 0000000..a144dbf --- /dev/null +++ b/configs/rcs/tmux.conf @@ -0,0 +1,14 @@ +# 256-color terminal +set-option -g default-terminal "screen-256color" + +# Add truecolor support (tmux info | grep Tc) +set-option -ga terminal-overrides ",xterm-256color:Tc" + +set -g mouse on +set -g prefix C-z + +set -g allow-rename off +set -g renumber-windows on + +set -g base-index 1 +setw -g pane-base-index 1 -- cgit 1.4.1