Skip to content

Commit 03b11f4

Browse files
committed
* .screenrc
+ bind F9 and F10 to page up and down + bind mouse scroll up and down for scrolling + bind ^a+R to reload .screenrc
1 parent 251c459 commit 03b11f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.screenrc

+9
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,13 @@ defscrollback 1000
1313
# Bind F11 and F12 (NOT F1 and F2) to previous and next screen window
1414
bindkey -k F1 prev # F11
1515
bindkey -k F2 next # F12
16+
# Bind F9 and F10 to page up and down
17+
bindkey -k k9 eval "copy" "stuff ^u"
18+
bindkey -k k; eval "copy" "stuff ^d"
19+
bindkey -m -k k9 stuff ^u
20+
bindkey -m -k k; stuff ^d
21+
# Bind mouse scroll up and down for scrolling
22+
termcapinfo xterm* ti@:te@
23+
# Bind ^a+R to reload .screenrc
24+
bind R eval "source $HOME/.screenrc" "echo '.screenrc reloaded!'"
1625

0 commit comments

Comments
 (0)