Skip to content

Instantly share code, notes, and snippets.

@tonijz
Created July 27, 2021 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonijz/26811d5d826cd976f194c5d820f1e4c3 to your computer and use it in GitHub Desktop.
Save tonijz/26811d5d826cd976f194c5d820f1e4c3 to your computer and use it in GitHub Desktop.
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'arcticicestudio/nord-tmux'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
# Fixing tmux and vim relationship in iterm2
set-option -ga terminal-overrides ",xterm-256color:Tc"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
# Use VIM keys instead of arrow keys to navigate panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# enable mouse
set -g mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment