]> git.phdru.name Git - dotfiles.git/blobdiff - .screenrc
.mc/mc.ext: Refactor opening/viewing zip files
[dotfiles.git] / .screenrc
index bc562122d284998c81600cd247c9ac6b3fb3413b..4eefc6cc3b21fba8dc6cac2ac748fc158f77b754 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -13,6 +13,11 @@ startup_message off
 deflogin on
 shell -$SHELL
 
+# For this to work PS1 prompt must include empty "<esc>k<esc>\" sequence
+# and ends with "$ ".
+#shelltitle "\$ |$SHELL"
+#bind R screen -t '# |root:' sudo su -
+
 # define a bigger scrollback, default is 100 lines
 defscrollback 1024
 
@@ -53,6 +58,16 @@ bindkey \033Oq stuff \033[4~
 bindkey \033Or stuff \033OB
 #KP_PgDn
 bindkey \033Os stuff \033[6~
+#KP_minus
+bindkey \033Om stuff -
+#KP_plus
+bindkey \033Ok stuff +
+#KP_slash
+bindkey \033Oo stuff /
+#KP_asterisk
+bindkey \033Oj stuff *
+#KP_Enter
+bindkey \033OM stuff \015
 
 # ------------------------------------------------------------------------------
 # TERMINAL SETTINGS
@@ -75,9 +90,9 @@ termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
 #hardstatus lastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
 
 # status line at the bottom of terminal
-# display numbers and titles:
-# for inactive windows - black on cyan
-# for active window - white on blue
+# display window number, flags and title
+# for inactive windows - black on yellow (brown)
+# for active window - black on green
 hardstatus alwayslastline
 hardstatus string "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-="
 
@@ -101,7 +116,7 @@ termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
 #termcapinfo rxvt* 'ti=\E7\E[?47h:te=\E[2J\E[?47l\E8'
 
 # Do not use the alternate screen at all
-# run `tput smcup; screen -S test; tput rmcup`
+# run `tput smcup; screen; tput rmcup`
 termcapinfo xterm*|rxvt* 'ti=:te='
 
 # Enable non-blocking mode to better cope with flaky ssh connections.