added config to renumber tmux panes automatically

This commit is contained in:
Nick Nisi
2013-04-21 20:36:44 -05:00
parent 19ee3adfec
commit 8023146a9b
2 changed files with 8 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
[user] [user]
name = Nick Nisi name = Nick Nisi
email = nick@nisi.org email = nick@nisi.org
[github]
user = nicknisi
[alias] [alias]
ci = commit -a ci = commit -a
co = checkout co = checkout
@@ -40,6 +42,8 @@
undo = reset --soft HEAD~1 undo = reset --soft HEAD~1
amend = commit --amend -C HEAD amend = commit --amend -C HEAD
cleanup = "!git remote prune origin && git gc && git clean -df && git stash clear"
# grep commands # grep commands
# 'diff grep' # 'diff grep'
@@ -94,4 +98,4 @@
pager = less -FXRS -x2 pager = less -FXRS -x2
editor = vim editor = vim
[rerere] [rerere]
enabled = false enabled = true

View File

@@ -5,6 +5,9 @@ set -g status-utf8 on
set -g history-limit 20000 set -g history-limit 20000
# automatically renumber tmux windows
set -g renumber-windows on
# unbind default prefix and set it to Ctrl+a # unbind default prefix and set it to Ctrl+a
unbind C-b unbind C-b
set -g prefix C-a set -g prefix C-a