-
-
Save nimeshpahadi/f53873ef585da21366e20fa3d86e1456 to your computer and use it in GitHub Desktop.
tmux configuration with zsh
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
# update & install | |
sudo apt-get update | |
sudo apt-get install tmux | |
vim .tmux.conf | |
# add following lines in .tmux.conf | |
# set Zsh as your default Tmux shell | |
set-option -g default-shell /bin/zsh | |
set -g prefix C-a | |
unbind C-b | |
# command delay? We don't want that, make it short | |
set -sg escape-time 1 | |
# Set the numbering of windows to go from 1 instead | |
# of 0 - silly programmers :| | |
set-option -g base-index 1 | |
setw -g pane-base-index 1 | |
# Allow us to reload our Tmux configuration while | |
# using Tmux | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
# Getting interesting now, we use the vertical and horizontal | |
# symbols to split the screen | |
bind | split-window -h | |
bind - split-window -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment