Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wish it was possible to have screen-like bindings that don't require explicitly defining them all so that you don't have to unpress Ctrl each time. In screen you can press C-a c quickly but for that to work in tmux you have to add this:

bind-key C-c new-window



Is line 2 what you are looking for? https://github.com/kusold/dotfiles/blob/master/tmux.conf#L2

I just tried it out, and `C-a c` created a new windows for me.


Tried that before and with 2.0 but it doesn't work. You still have to release both 'Ctrl' and 'a' before pressing 'c'. In screen you don't have to and chaining works comfortably.


> In screen you can press C-a c quickly

Screen just binds C-a c and C-a C-c to the same command, for some values of c.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: