Created
November 6, 2020 18:56
-
-
Save alexander-alegre/5be3b4008beb19fe1ab6f86514cb4fe6 to your computer and use it in GitHub Desktop.
tmux configuration
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
#-------------------------------------------------------# | |
#reattach-to-user-namespace must be installed | |
#-------------------------------------------------------# | |
#the following line refers to the file ~/.tmux-osx.conf | |
if-shell 'test "$(uname)" = "Darwin"' 'source ~/.tmux-osx.conf' | |
#-------------------------------------------------------# | |
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
# dont rename windows | |
set -g allow-rename off | |
# Search mode vi | |
set-window-option -g mode-keys vi | |
# Enable mouse | |
set -g mouse on | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment