4 ms·
Hope this helps. It's nothing fancy. No, no probs with 'top'. # use ^K instead of default ^B. set-option -g prefix C-k unbind-key C-b bind-key
by luser001 15y ago
Hope this helps. It's nothing fancy. No, no probs with 'top'.
# use ^K instead of default ^B.
set-option -g prefix C-k
unbind-key C-b
bind-key C-k send-prefix
# F1, F2 to cycle between windows within a "workspace".
# what tmux calls "windows" are like workspaces in WindowMaker.
# and what it calls "panes" are like individual xterm windows in a workspace.
bind-key -n F2 select-pane -t:.+
bind-key -n F1 select-pane -t:.-
# F3, F4 to cycle between workspaces.
bind-key -n F3 previous-window
bind-key -n F4 next-window
# F5 split a workspace horizontally and F6 to split vertically.
bind-key -n F5 split-window
bind-key -n F6 split-window -h
# F9 new workspace
bind-key -n F9 new-window
# to disconnect from tmux do: ^K+d
# or exit all the windows you created.
bind-key -n F7 resize-pane -L
bind-key -n F8 resize-pane -R
- Ecio78 15y agoThank you, unfortunately I dont know why but F1-F4 are not working, while F5,F6,F9 works. I'm using putty, dont know if this matters. When i press F1,F2,F3,F4 i got ~ on the shell
- luser001 15y agoSorry, I just saw this. And I'm right now on Linux so I can't confirm, so I might be slightly off here. There's a setting under keyboard (or terminal, I forget). You might need to change it to 'X11R6'. Look at section 4.4.3 here: http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter4.html#config-keyboard http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter4.ht... I hope that fixes it for you. Good luck.