Re: searching buffer via command

2013-01-14 Thread Nicholas Marriott
Hi You could probably do it with send-keys? If not the nicest thing to have would be a flag to enter copy mode and pass in mode commands eg something like: tmux copy-mode -C 'cursor-up,cursor-left,search-backward foo' On Thu, Jan 10, 2013 at 02:04:21PM -0500, Alexander Tsepkov wrote: >Ear

Re: searching buffer via command

2013-01-10 Thread Thomas Adam
Hi, On 10 January 2013 19:04, Alexander Tsepkov wrote: > Earlier today I wanted to write a tmux macro to go to the beginning of last > executed bash command (good for commands with long outputs). To do so, I was > going to have tmux enter copy-mode and search backwards for my PS1 string. > After

searching buffer via command

2013-01-10 Thread Alexander Tsepkov
Earlier today I wanted to write a tmux macro to go to the beginning of last executed bash command (good for commands with long outputs). To do so, I was going to have tmux enter copy-mode and search backwards for my PS1 string. After looking through tmux man page, however, I realized there is no co