1

I often use tmux to scroll through error messages for various reasons.

Usually I use the ninja command to build my projects so when I hit compilation errors ctrl+b [ ninja quickly takes me back to where I ran the command.

However, today I started using make because, for various reasons, I couldn't use ninja. Because the string make appears multiple times in my build errors, this little trick no longer works.

So how can I get tmux to take me back to the last line on which I entered text (or where I last pressed return)?

quant
  • 4,061
  • 10
  • 34
  • 50

0 Answers0