-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
2 changed files
with
42 additions
and
7 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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# vi:syntax=tmux | ||
|
||
# options from tmux-sensible | ||
|
||
# address vim mode switching delay (http://superuser.com/a/252717/65504) | ||
set -s escape-time 0 | ||
|
||
# increase scrollback buffer size | ||
set -g history-limit 50000 | ||
|
||
# tmux messages are displayed for 4 seconds | ||
set -g display-time 4000 | ||
|
||
# refresh 'status-left' and 'status-right' more often | ||
set -g status-interval 5 | ||
|
||
# upgrade $TERM, tmux 2.0+ | ||
set -s default-terminal "screen-256color" | ||
|
||
# emacs key bindings in tmux command prompt (prefix + :) are better than | ||
# vi keys, even for vim users | ||
set -g status-keys emacs | ||
|
||
# focus events enabled for terminals that support them | ||
set -g focus-events on | ||
|
||
# super useful when using "grouped sessions" and multi-monitor setup | ||
setw -g aggressive-resize on | ||
|
||
# easier switching between next/prev window | ||
bind-key C-p previous-window | ||
bind-key C-n next-window | ||
|
||
# source `.tmux.conf` file - as suggested in `man tmux` | ||
bind-key R run-shell ' \ | ||
tmux source-file ~/.tmux.conf > /dev/null; \ | ||
tmux display-message "Sourced .tmux.conf!"' |
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