summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-04-08 08:42:06 -0700
committerFranck Cuny <fcuny@twitter.com>2019-04-08 08:42:06 -0700
commit2b897499bf438d7aadd78b334f0030d3cbe5a9ab (patch)
tree73026d02a2a574bed9d70a2ebffbd0c67edfbbd7
parent[emacs] Back to using org-mode. (diff)
downloademacs.d-2b897499bf438d7aadd78b334f0030d3cbe5a9ab.tar.gz
[tmux] A few more changes.
-rwxr-xr-xbashrc1
-rw-r--r--tmux.conf17
2 files changed, 18 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 503293b..e73f17d 100755
--- a/bashrc
+++ b/bashrc
@@ -39,6 +39,7 @@ alias lt="ls -lhtr"
 alias mv="mv -i"
 alias rm="rm -i"
 alias add="arc diff --draft"
+alias tma="tmux attach || tmux"
 
 alias smf1pending='curl -s https://aurora-smf1.twitter.biz/pendingtasks | jq .'
 alias atlapending='curl -s https://aurora-atla.twitter.biz/pendingtasks | jq .'
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 0000000..3c1a0ce
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,17 @@
+set-option -g prefix C-z
+bind-key a send-prefix
+
+set-option -g base-index 1
+set-option -g renumber-windows on
+set-option -g set-titles on
+set-option -g set-titles-string '@#h'
+
+set -g history-limit 20000
+
+set -g set-titles on
+set -g set-titles-string "#T"
+
+set-option -g default-terminal "xterm-256color"
+set-option -g xterm-keys on
+
+set-option -g mouse on