Terminal config and plugins, focused around zsh, vim, and tmux. Uses Solarized color scheme throughout.
- Installs and configures
solarized,zsh,oh-my-zsh,tmux - Syntax highlighting in
less - Autocomplete in Python shell
- Shortcuts for
git(seegit lg,git st,git df, etc.) - Improved
~/.vimrckey mappings - Vim plugins:
ackautopep8closetagcoffee-scriptctrlpeasymotionfswitchfugitivegitignorejavascriptjedilatexlessmatchitnerdcommenternerdtreerainbow-parenthesesseekshowmarkssignifysolarizedstartifysupertabsurroundsyntastictabmantagbarundotreevimuxvimux-pyutilsyankstack - Custom vim scripts: improved text-wrapping with
Q, delete-trailing-whitespace, and more - Smart
lsaftercd: suppressed iflstakes more than 1 second - Unified dark/light color scheme toggle for vim and tmux
- Python linting tools installed via
pipx(flake8, pylint, isort, etc.)
Works on macOS (Homebrew) and Linux (apt-get, dnf).
-
Clone:
cd $HOME git clone https://github.com/seanbell/term-tools.git -
Back up and remove any existing
~/.zshrc,~/.vimrc,~/.gvimrc,~/.vim, and~/.tmux.conf. -
Install:
cd ~/term-tools bash install.shThe script will ask whether to install each component. Run with
-fto overwrite existing config files. -
Set zsh as your default shell (if the installer didn't do it):
chsh -s $(which zsh) # macOS sudo chsh $USER -s /bin/zsh # Linux -
Restart your terminal.
curl -fsSL https://raw.github.com/seanbell/term-tools/main/install.sh | bash
This clones to ~/term-tools and runs the installer.
Vim and tmux share a Solarized dark/light toggle via ~/.term-light:
touch ~/.term-light # switch to light mode
rm ~/.term-light # switch to dark mode
After toggling:
- vim: reopen or run
:source ~/.vimrc(also toggle live withF6) - tmux: reload config with
C-a g
- Vim commands are detailed in
config/vimrc(organized by fold sections) - tmux prefix is
C-a(not the defaultC-b— seeconfig/tmux.conffor all keybindings) - Git aliases:
git lg(log graph),git st,git df,git co, etc.
-
Typing is slow in large directories —
zsh-syntax-highlightinglooks at files in the current directory. Removezsh-syntax-highlightingfrom theplugins=( ... )line in~/.zshrcto fix. -
Different keybindings for shell vs editor — add this to
~/.zshrcand~/.bashrc(before the line that sourcesshrc.sh):export EDITOR="vim" export TERM_EDITOR="emacs" -
Python editing hangs — jedi can be slow. Enter paste mode with
F2.
vim-powerlineremoved (deprecated by author) — status line uses vim's built-inlaststatus=2. Consider vim-airline if you want a fancy status line.gundoremoved (requires Python 2) — replaced with undotree (<leader>ustill works).- Submodule URLs updated for repos that moved to new GitHub orgs (scrooloose → preservim, Lokaltog → easymotion, kien → ctrlpvim, etc.)
- Python tools installed via
pipxinstead ofsudo pip install. - Fugitive commands updated:
Gstatus→Git,Gblame→Git blame, etc.

