DEV Community

Discussion on: Edit tmux output with Vim (or any text editor)

Collapse
 
acro5piano profile image
Kay Gosho

Thanks!
I also found I have to add the following option to .tmux.conf to see the entire scroll buffer:

set-option -g history-limit 20000

And I added '+ normal G $' to vim launching option to open the file at the bottom:

tmux new-window -n:mywindow "vim '+ normal G $' $file"