Skip to content

Instantly share code, notes, and snippets.

@nemes1s
Last active August 6, 2019 06:42
Show Gist options
  • Save nemes1s/c674b87c6727c387d1e84ef488d65dad to your computer and use it in GitHub Desktop.
Save nemes1s/c674b87c6727c387d1e84ef488d65dad to your computer and use it in GitHub Desktop.
set -g status-position bottom
set -g status-bg colour237
set -g status-fg colour137
set -g status-style dim
set -g status-left '#[fg=colour197]#(~/bin/internet_info.sh) #{tasks_status}'
set -g status-right '#[fg=colour81]♪ #(~/bin/now_playing.sh) #(~/bin/battery.sh) #[fg=colour255,bg=colour241,bold] %a %m-%d #[fg=colour255,bg=colour241,bold] %H:%M:%S #[fg=colour165]#[bg=default] #H '
set -g status-right-length 100
set -g status-left-length 70
# Set 'v' for vertical and 'h' for horizontal split
bind v split-window -h -c '#{pane_current_path}'
bind b split-window -v -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
# vim-like pane resizing
bind -r C-k resize-pane -U
bind -r C-j resize-pane -D
bind -r C-h resize-pane -L
bind -r C-l resize-pane -R
############################################################################
# Unbindings
############################################################################
# remove default binding since replacing
unbind %
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