* keybindings/common, doc/help.txt: Change F5 from kill window to hot-reload

profile (killing a window is easy enough, with 'exit' command)
This commit is contained in:
Dustin Kirkland 2009-02-27 15:45:18 -06:00
commit c39e320a74
3 changed files with 4 additions and 6 deletions

View file

@ -7,7 +7,7 @@ updates-available, system-load, cpu-info, memory-info, and date/time.
F2 Create a new window | F6 Detach from the session
F3 Go to the prev window | F7 Enter scrollback mode
F4 Go to the next window | F8 View all keybindings
F5 Close current window | F9 Configure screen-profiles
F5 Hot-reload profile | F9 Configure screen-profiles
| F12 Lock this terminal
'screen -r' - reattach |
'man screen' - complete help | <ctrl-<esckey>> Escape sequence

View file

@ -36,7 +36,8 @@ register n "^a^c^aA" # Goes with the F2 definition
bindkey -k k2 process n # F2 | Create new window (and name it)
bindkey -k k3 prev # F3 | Previous Window
bindkey -k k4 next # F4 | Next Window
bindkey -k k5 kill # F5 | Close window
register r "^a:source ~/.screen-profiles/profile" # Goes with F5 definition
bindkey -k k5 process r # F5 | Reload profile
bindkey -k k6 detach # F6 | Detach from this session
bindkey -k k7 copy # F7 | Enter copy/scrollback mode
bindkey -k k8 help # F8 | Advanced help/keybindings
@ -44,7 +45,3 @@ bindkey -k k9 screen -t help 0 screen-profiles # F9 | Configuration
# F10 | 'toolbar' in gnome-terminal
# F11 | 'fullscreen' in gnome-terminal
bindkey -k F2 lockscreen # F12 | Lock this terminal
# Hot-reload profile
register r "^a:source ~/.screen-profiles/profile"
bind ~ process r

View file

@ -123,6 +123,7 @@ setprofile() {
found=1
echo
if [ "$TERM" = "screen" ]; then
echo `gettext 'Hit <F5><enter> to reload the current profile, or...'`
echo `gettext 'Close the current screen by typing "exit", and restart "screen" to activate.'`
else
echo `gettext 'Run "screen" to activate'`