sharpaper / peek-for-tmux

The most useful smallest tmux trick by yours truly. peek() { tmux split-window -p 33 $EDITOR $@ || exit; }

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

peek-for-tmux

The most useful smallest tmux trick by yours truly.

Place this in your .bashrc:

peek() { tmux split-window -p 33 $EDITOR $@ || exit; }

Restart your terminal.

Run peek a_file_you_really_want_to_look_at.txt

About

The most useful smallest tmux trick by yours truly. peek() { tmux split-window -p 33 $EDITOR $@ || exit; }