Skip to content

Instantly share code, notes, and snippets.

View boushley's full-sized avatar

Aaron Boushley boushley

  • Songtradr
  • Seattle, WA
View GitHub Profile
@raine
raine / tmux-zoom-out-vim
Last active May 3, 2020 12:42
tmux+vim: zoom into pane and resize windows to equal size in vim with CTRL-W =
#!/usr/bin/env bash
set -e
cmd="$(tmux display -p '#{pane_current_command}')"
cmd="$(basename "${cmd,,*}")"
tmux resize-pane -Z
if [ "${cmd%m}" = "vi" ]; then
sleep 0.1