forked from deiga/dotfiles
-
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
29 additions
and
3 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 |
---|---|---|
@@ -1,21 +1,46 @@ | ||
pre: tmux set-option string-titles "#S" | ||
# Rename your terminals | ||
set -g set-titles on | ||
set -g set-titles-string "#{client_session}::#h::#S" | ||
|
||
# Status bar customization | ||
set -g status-utf8 on | ||
set -g status-interval 5 | ||
|
||
set-option -g default-command "reattach-to-user-namespace -l zsh" | ||
|
||
# Enable mouse support in ~/.tmux.conf | ||
set -g mode-mouse on | ||
set-option -g mouse-select-pane on | ||
set-option -g mouse-select-window on | ||
set-window-option -g mode-mouse on | ||
|
||
# Better prefix | ||
unbind C-b | ||
set-option -g prefix C-a | ||
|
||
# Show last window | ||
bind-key C-a last-window | ||
|
||
# Reasonable base-index | ||
set -g base-index 1 | ||
setw -g pane-base-index 1 | ||
|
||
set -s escape-time 0 | ||
|
||
setw -g aggressive-resize on | ||
|
||
set -g main-pane-width 180 | ||
|
||
set-option -g history-limit 5000 | ||
|
||
# Remap window navigation to vim | ||
unbind-key j | ||
bind-key j select-pane -D | ||
unbind-key k | ||
bind-key k select-pane -U | ||
unbind-key h | ||
bind-key h select-pane -L | ||
unbind-key l | ||
bind-key l select-pane -R | ||
|
||
# Set a Ctrl-b shortcut for reloading your tmux config | ||
bind r source-file ~/.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