Skip to content

Instantly share code, notes, and snippets.

@matej-g
Last active August 5, 2023 14:25
Show Gist options
  • Save matej-g/8327407d945247da6e0ac7bec8a0a51e to your computer and use it in GitHub Desktop.
Save matej-g/8327407d945247da6e0ac7bec8a0a51e to your computer and use it in GitHub Desktop.
My simple, clean and minimalist Oh My ZSH + tmux setup

My relatively simple Oh My ZSH + tmux config I started using after transitioning from BASH

  1. Requires Oh My Zsh and TPM (https://github.com/tmux-plugins/tpm) to be installed
  2. I'm using common theme for Oh My ZSH (needs to be installed extra - see https://github.com/jackharrisonsherlock/common)
  3. Using pimux for my tmux theme (https://github.com/ndyakov/pimux - installed via TPM)

.tmux.conf config

set-option -g default-shell /bin/zsh
set -g prefix C-a
setw -g mode-keys vi

bind -n C-Pageup next-window
bind -n C-Pagedown previous-window
bind t new-window
bind s split-window -h

bind -n C-M-Pageup select-pane -R
bind -n C-M-Pagedown select-pane -L

setw -g mouse on

set -g @plugin 'ndyakov/pimux'

run -b '~/.tmux/plugins/tpm/tpm'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment