Last active
August 21, 2018 10:36
-
-
Save subhojit777/7cf2298c73da297ca478 to your computer and use it in GitHub Desktop.
Tmux configurations
This file contains hidden or 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
# ~/.tmux.conf | |
unbind C-b | |
set -g prefix C-a | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D | |
bind -n C-k clear-history | |
setw -g monitor-activity on | |
set -g visual-activity on | |
set-window-option -g window-status-current-bg yellow | |
set -g mouse on | |
bind a send-prefix | |
# Bash | |
# set-option -g default-command "reattach-to-user-namespace -l bash" | |
# Zsh | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
# Override the default window splitter bindings so that the current directory is maintained. | |
bind % split-window -h -c '#{pane_current_path}' | |
bind '"' split-window -v -c '#{pane_current_path}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment