Skip to content

Instantly share code, notes, and snippets.

@jserpapinto
Last active August 9, 2019 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jserpapinto/d36e2daa482b97347348fae115309a93 to your computer and use it in GitHub Desktop.
Save jserpapinto/d36e2daa482b97347348fae115309a93 to your computer and use it in GitHub Desktop.
Tmux configuration
# change default prefix (C-b) to C-space
unbind C-space
set -g prefix C-space
bind C-space send-prefix
# Improve colors
set -g default-terminal 'screen-256color'
# Set scrollback buffer to 10000
set -g history-limit 10000
# Customize the status line
set -g status-fg green
set -g status-bg black
# start numbering from 0 instead of 1
set -g base-index 0
setw -g pane-base-index 0
# bind C-a C-a to last active window
bind-key C-a last-window
# Detect mouse
set -g mouse on
# Fix vim escape time in tmux
set -sg escape-time 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment