Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arvinder Singh Kang
committed
Oct 24, 2012
1 parent
09b2455
commit fcb5fc7
Showing
1 changed file
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,12 +1,35 @@ | |||
set -g default-terminal "screen-256color" | set -g default-terminal "screen-256color" | ||
set -g prefix C-a # change prefix to Ctlr-a | |||
unbind C-b # free Ctrl-b | |||
|
|
||
# act like GNU screen | set -sg escape-time 1 # reduce reponse time | ||
# remap prefix to Control + a | set -g base-index 1 # start window at 1 instead of 0 | ||
set -g prefix C-a | setw -g pane-base-index 1 #start pane numbering at 1 | ||
unbind C-b |
|
||
bind C-a send-prefix | ### Binding Keys for ease ### | ||
#bind r source-file ~/.tmux.conf\; display "tmux.conf reloaded!" # reload tmux.conf | |||
#bind C-a send-prefix # If within vim, press Ctrl-a twice to send prefix | |||
# | |||
## Bind splitting shortcuts | |||
#bind | split-window -h # use | instead of % | |||
#bind - split-window -v # use - instead of : | |||
# | |||
## Bind moving from pane to pane | |||
#bind h select-pane -L | |||
#bind j select-pane -D | |||
#bind k select-pane -U | |||
#bind l select-pane -R | |||
# | |||
## Bind moving from window to window (using Ctrl) | |||
#bind -r C-h select-window -t :- | |||
#bind -r C-l select-window -t :+ | |||
# | |||
## Bind resizing the pane (Capitals) 5 rows a time, using -r repeatable | |||
#bind -r H resize-pane -L 5 | |||
#bind -r J resize-pane -D 5 | |||
#bind -r K resize-pane -U 5 | |||
#bind -r L resize-pane -R 5 | |||
# | |||
## disable mouse | |||
#setw -g mode-mouse off | |||
|
|
||
# Make split windows easy to remember | |||
unbind % | |||
bind | split-window -h | |||
bind - split-window -v |