Skip to content

Instantly share code, notes, and snippets.

@harrisoncramer
Created May 22, 2021 16:29
Show Gist options
  • Save harrisoncramer/632ae5a4d2ac2c62379f16a9fc3233d8 to your computer and use it in GitHub Desktop.
Save harrisoncramer/632ae5a4d2ac2c62379f16a9fc3233d8 to your computer and use it in GitHub Desktop.
set-option -s escape-time 10
set -g default-terminal "screen-256color"
set -g mouse on
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment