June 08, 2006

Screen: Set Alternate Hot Key

Screen 預設是用 Crtrl-A 為 Hot Key, 而 Ctrl-A 在 Shell 下, 是到行首的意思.
若用慣了 Ctrl-A 到行首, 會不習慣 Screen 的 Hot Key,
個人是用 Ctrl-H, 加一行
escape ^Hh
到 /etc/screenrc 或 ~/.screenrc 即可
幾個原因
1. Ctrl-H = Backspace, 若習慣用 Backspace, Ctrl-H 用不到
2. H 的位置很好按
3. Ctrl-H H Switch to the previous window, 也很好按
ref. Power Sessions with Screen

Posted by pank at June 8, 2006 01:55 PM
Comments

ctrl-A +A 就到行首了

Posted by: jslee at June 20, 2006 06:06 PM
Post a comment













Remember personal info?