Peeking with tmux View article history Edit article

Published: , Updated:
Talks about: , and

tmux uses can use the following snippet to peek at files. Place it in your .bashrc or similar file.

peek() { tmux split-window -p 33 "$EDITOR" "$@" }

Calling peek <file> will open <file> in lower third of tmux window.