The most useful, smallest tmux trick ↦
Quickly peek
at a file in the lower 3rd of your tmux
session by adding this one line to your .bashrc
:
peek() { tmux split-window -p 33 "$EDITOR" "$@" || exit; }
Don’t forget to set $EDITOR
first!
Quickly peek
at a file in the lower 3rd of your tmux
session by adding this one line to your .bashrc
:
peek() { tmux split-window -p 33 "$EDITOR" "$@" || exit; }
Don’t forget to set $EDITOR
first!
Discussion
Sign in or Join to comment or subscribe