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

This is what I do for nested sessions:

  bind -n S-up \
  set -g status-bg white \; \
  set -g prefix None

  bind -n S-down \
  set -g prefix C-a \; \
  set -g status-bg green
Press Shift-ArrowUp, and all control will be passed to the nested session.


Ah, that's smart, thank you! Looks like it would work especially well for multiple levels of nesting.




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

Search: