Skip to content

Instantly share code, notes, and snippets.

@tobyontour
Created December 13, 2022 12:16
Show Gist options
  • Select an option

  • Save tobyontour/75d3af9af1655b0ea5a58fec89e1364b to your computer and use it in GitHub Desktop.

Select an option

Save tobyontour/75d3af9af1655b0ea5a58fec89e1364b to your computer and use it in GitHub Desktop.
set-option -g prefix C-a
bind-key C-a last-window
set -s escape-time 0
bind H resize-pane -L 10
bind J resize-pane -D 10
bind K resize-pane -U 10
bind L resize-pane -R 10
bind | split-window -h -c '#{pane_current_path}'
bind - split-window -v -c '#{pane_current_path}'
setw -g mode-keys vi
set-window-option -g window-status-current-format " #I:#W "
set-window-option -g window-status-format " #I:#W "
#set-window-option -g window-status-current-bg blue
#set-window-option -g window-status-current-fg white
#set -g status-bg cyan
#set -g status-fg black
set -g status-left-length 20
set -g status-left ' #S'
#bind '"' split-window -c "#{pane_current_path}"
#bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
#bind new-window [-adk] [-n window-name] [-t target-window] [command]
set -g status-style bg=cyan,fg=black,align=left
set -g window-status-current-style bg=blue,fg=white
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment