Hi, On 10 January 2013 19:04, Alexander Tsepkov <atsep...@gmail.com> 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 looking through tmux man page, however, I realized there is no command > for searching in copy mode (or at least I couldn't find one), just for > entering it. I noticed that the only parameter copy-mode has is -U to go up
Well, that's because copy-mode is stateful, Note that successive calls with -u doesn't do anything because the pane is already in a mode when the command "copy-mode" is run. But I'm not sure how useful it would be to drive a pane in that state in this way -- much less search for it when you can do that interactively, and people who have a pane in &window_copy_mode do so interactively anyway otherwise you could just use capture-pane, for instance. -- Thomas Adam ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users