Live data from Hacker News

A Tmux Crash Course (2011)

robots.thoughtbot.com

81–85 of 85 posts

Re: A Tmux Crash Course (2011)

#81
post #79

Earlier quoted context omitted.

I know! It's really bizarre. It's almost like some people have different preferences from you or something. Let's spend more time talking about how people with different preferences are weird and stupid.

Are there really people who prefer to learn from thin-repackage ebooks and ghetto screencasts?

Boy I sure hope not. In case there are, let's continue to imply that they're making poor choices. While we're at it, let's also shit on other people's work which we haven't read so that we can make sure that as many people as possible can feel our contempt. Especially when the authors of said work are right here, right in this very thread!

Re: A Tmux Crash Course (2011)

#82

Earlier quoted context omitted.

Have you tried tmux's mouse modes? You can use the mouse wheel to scroll and highlight to copy. I think you are specifically trying to say the mouse highlight won't go past one window though, right? You can also resize panels and select widows.

I knew I saw a way to interact with it through the mouse. Thank you for reminding me. `tmux` is really a neatly little program, everything is there, simple and efficient. ps: man tmux | grep "mouse-" # shows the mouse related options C-b : "set mouse- on" pps: turning on mouse windows/panels interactions disable text selection, do you know a way to have both ? (beside switching beside custom defined modes on your .co…

You can always do text selection in a terminal by holding shift while selecting the text, no matter if the program running in the terminal supports mouse or not. I think on some terminals it's alt instead of shift.

Re: A Tmux Crash Course (2011)

#83
post #40

I know everyone remaps their prefix to ctrl-a - how do you then jump to the start of a line? Edit: Thanks for the solutions. Will have a play. Like the sound of using ctrl-\

I've used screen for donkey's years now and since I'm also an emacs user, the C-a as the prefix (default for screen) was out of the question. C-] was my solution and has worked dandy so far without ever clashing with any keyboard shortcut from any application.

Re: A Tmux Crash Course (2011)

#84
post #22

Earlier quoted context omitted.

Ya, it is nice to see mac bois enjoy a tiling wm functionality. I currently use i3wm + tmux + vim. However, I rarely use tmux splitting due to i3wm splitting.

By any chance do you know some good beginner tutorial for installing + first steps for i3wm on Deb/Ubu?

Arch Linux has good docs on i3wm.

Re: A Tmux Crash Course (2011)

#85

Earlier quoted context omitted.

Have you tried tmux's mouse modes? You can use the mouse wheel to scroll and highlight to copy. I think you are specifically trying to say the mouse highlight won't go past one window though, right? You can also resize panels and select widows.

I knew I saw a way to interact with it through the mouse. Thank you for reminding me. `tmux` is really a neatly little program, everything is there, simple and efficient. ps: man tmux | grep "mouse-" # shows the mouse related options C-b : "set mouse- on" pps: turning on mouse windows/panels interactions disable text selection, do you know a way to have both ? (beside switching beside custom defined modes on your .co…

I don't seem to have that problem, :/

make sure "mouse-mode on" is set, rather than "mouse-mode copy-mode".

Here is my mouse config:

set-window-option -g mode-mouse on

set-option -g mouse-resize-pane on

set-option -g mouse-select-pane on

set-option -g mouse-select-window on

set-option -g mouse-utf8 on

Post reply on HN