Live data from Hacker News

Workflow in tmux

coderwall.com

11–20 of 62 posts

Re: Workflow in tmux

#11
post #8
post #2

OT: Tmux/Screen are a little bit RSI inducing to me, to be used effectively. Any tips?

Use the Alt key to navigate around: https://github.com/nviennot/tmux-config

It may just take a bit of work to make sure that the important tmux keybindings don't clash with those of the applications you will be running.

Re: Workflow in tmux

#12

I really like the status bar with the arrow-breadcrumbs look. I will definitely be incorporating that into my config. If others are looking for a great config to start out with definitely check out Brian P. Hogan's tmux: Productive Mouse-Free Development [1]. It is a great quick intro to tmux that demos and steps through the creation of a great tmux.conf [1] http://pragprog.com/book/bhtmux/tmux

The status bar with the arrow breadcrumbs is powerline: https://github.com/Lokaltog/powerline

There are bindings for tmux, bash, zsh, vim, and ipython (among others).

Re: Workflow in tmux

#13
post #9

To get copy/paste to play nice in OSX you have to go through some Herculean tasks. I made it work with netcat yesterday. I was running an http server to do it :) https://github.com/base698/tmux-copy-paste-mac-osx

What's wrong with using reattach-to-user-namespace?

Re: Workflow in tmux

#14
post #2

OT: Tmux/Screen are a little bit RSI inducing to me, to be used effectively. Any tips?

I somewhat agree, and the suggestions from others are good, but something that also is a big help with RSI: take more breaks. I have a script set up to remind me to take a break every hour, and it dims my monitor for 10 minutes each time. That has made the largest difference for me.

Re: Workflow in tmux

#15
post #9

To get copy/paste to play nice in OSX you have to go through some Herculean tasks. I made it work with netcat yesterday. I was running an http server to do it :) https://github.com/base698/tmux-copy-paste-mac-osx

What's wrong with using reattach-to-user-namespace?

It involves compiling native code and its easier to do with a shell script?

Re: Workflow in tmux

#16
post #12

I really like the status bar with the arrow-breadcrumbs look. I will definitely be incorporating that into my config. If others are looking for a great config to start out with definitely check out Brian P. Hogan's tmux: Productive Mouse-Free Development [1]. It is a great quick intro to tmux that demos and steps through the creation of a great tmux.conf [1] http://pragprog.com/book/bhtmux/tmux

The status bar with the arrow breadcrumbs is powerline: https://github.com/Lokaltog/powerline There are bindings for tmux, bash, zsh, vim, and ipython (among others).

The status bar with the arrow breadcrumbs _looks like_ powerline. If you read his tmux config, he's not actually using powerline, he just duplicated the appearance.

Re: Workflow in tmux

#17
post #9

To get copy/paste to play nice in OSX you have to go through some Herculean tasks. I made it work with netcat yesterday. I was running an http server to do it :) https://github.com/base698/tmux-copy-paste-mac-osx

I gave up of tmux. Now I just use iterm2 split pane. It's working fine for me.

Re: Workflow in tmux

#18
post #3
post #2

OT: Tmux/Screen are a little bit RSI inducing to me, to be used effectively. Any tips?

Remap caps lock to be a ctrl key, then preferably remap your prefix key to a. Caps+a is way easier to type.

I do ctrl+o because I hated having to hit ctr+a two times to go to the beginning of the line in console apps.

Re: Workflow in tmux

#19
I understand using console window managers when logged into a headless system where you don't otherwise have access to a UI, but I'm baffled by the desire to use console-based window managers within well defined GUI like OS X.

In OS X, there are multitudes of tools to allow you to manage windows. Spectacle is a simple one, Slate is extremely customizable.

Why not use the built-in OS X window manager to manager various windows rather than a console-based one? If you say the advantage is the shortcut keys, Slate lets you setup shortcut keys to do just about anything.

Can anyone give me a list of pros/cons for using a console-based window manager over a native one?

Re: Workflow in tmux

#20
post #9

To get copy/paste to play nice in OSX you have to go through some Herculean tasks. I made it work with netcat yesterday. I was running an http server to do it :) https://github.com/base698/tmux-copy-paste-mac-osx

I gave up of tmux. Now I just use iterm2 split pane. It's working fine for me.

You may not realize it but iterm2 is using tmux for its split panes. :)
Post reply on HN