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 one page. I think it might be useful to have this command support
something like -f and -b arguments to search forwards and backwards after
entering copy mode. I'm not that familiar with tmux source code, but don't
mind taking a stab at this myself if you guys think this would be a good
idea (I don't think it would be too hard, the search functionality is
already there, it just needs to be exposed). If similar feature is already
there and I missed it, I apologize.
------------------------------------------------------------------------------
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