Created
December 20, 2018 00:10
-
-
Save iluxonchik/4bf415364982bd8b492a09a04360c7f5 to your computer and use it in GitHub Desktop.
tmux config
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
# 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