Skip to content

Instantly share code, notes, and snippets.

@iluxonchik
Created December 20, 2018 00:10
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 iluxonchik/4bf415364982bd8b492a09a04360c7f5 to your computer and use it in GitHub Desktop.
Save iluxonchik/4bf415364982bd8b492a09a04360c7f5 to your computer and use it in GitHub Desktop.
tmux config
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# pane resizing with Ctrl+Shift+Arrow
bind-key -n C-S-Up resize-pane -U 15
bind-key -n C-S-Down resize-pane -D 15
bind-key -n C-S-Left resize-pane -L 25
bind-key -n C-S-Right resize-pane -R 25
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# make esc press in nvim instant
set -sg escape-time 0
# syncronize panes
bind e set-window-option synchronize-panes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment