Skip to content

Instantly share code, notes, and snippets.

@amriunix
Created November 27, 2019 13:09
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 amriunix/56847e2801d7699feceeb087d3609656 to your computer and use it in GitHub Desktop.
Save amriunix/56847e2801d7699feceeb087d3609656 to your computer and use it in GitHub Desktop.
# 0 is too far from ` ;)
set -g base-index 1
# Remap prefix
set -g prefix C-a
bind C-a send-prefix
unbind C-b
# Quality of the life stuff
set -g history-limit 10000
set -g allow-rename off
# Join Windows
bind-key j command-prompt -p "Join pane from:" "join-pane -s '%%'"
bind-key s command-prompt -p "Send pane to:" "join-pane -t '%%'"
# Search Mode VI
set -g status-keys vi
setw -g monitor-activity on
set-window-option -g mode-keys vi
# Shift arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
bind-key v split-window -h
bind-key h split-window -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment