Skip to content

Tmux Plugins

(Written in the middle of the night, will be updated)

Installation

Bullet points for now:

  • install tmux
  • install nvim

Configuration

create ~/.tmux.conf:

Terminal window
# Enable switching panes with ALT + arrow keys
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'laktak/tome'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

create ~/.vimrc:

Terminal window
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
" List your plugins here
Plug 'tpope/vim-sensible'
Plug 'laktak/tome'
call plug#end()
  • install plugin in vim
  • open tmux
  • CTRL+B - I