Skip to content

Instantly share code, notes, and snippets.

@scull7
Created March 15, 2021 16:03
Show Gist options
  • Save scull7/a97729d0361e2ae6935abfb3e5349a4c to your computer and use it in GitHub Desktop.
Save scull7/a97729d0361e2ae6935abfb3e5349a4c to your computer and use it in GitHub Desktop.
tmux-config
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
# Dracula Settings
set -g @dracula-military-time true
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
# https://jdhao.github.io/2018/09/30/tmux_settings_for_vim_users/
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Start pane and window numbering at 1
# https://unix.stackexchange.com/questions/35924/how-to-make-tmux-count-windows-starting-from-1-instead-of-0
set -g base-index 1
setw -g pane-base-index 1
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment