Created
May 28, 2021 22:58
-
-
Save harrisoncramer/08f1904a8fff04b453af9da2794fdace to your computer and use it in GitHub Desktop.
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
set -g default-terminal "screen-256color" | |
set -g mouse on | |
set-option -g prefix C-b | |
# Set new panes to open in current directory | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
# vim-like pane switching | |
bind -r k select-pane -U | |
bind -r j select-pane -D | |
bind -r h select-pane -L | |
bind -r l select-pane -R | |
# and now unbind keys | |
unbind Up | |
unbind Down | |
unbind Left | |
unbind Right | |
unbind C-Up | |
unbind C-Down | |
unbind C-Left | |
unbind C-Right | |
set -g automatic-rename-format '#{pane_current_path}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment