12 # Support alternate screens so that, for example, when you
13 # quit out of vi, the display is redrawn as it was before vi
14 # redrew the full screen.
32 caption always "%{= kg}[%{kB} %c %{kg}][%= %{kw}%-w%{kr}[%{kW}%n %t%{kr}]%{kw}%+w %=%{kg}][%{kB} %l %{kg}]%{kw}"
38 bindkey "^[[5;2~" eval "copy" "stuff ^b"
39 bindkey -m "^[[5;2~" stuff ^b
40 bindkey -m "^[[6;2~" stuff ^f
42 # xterm understands both im/ic and doesn't have a status line.
43 # Note: Do not specify im and ic in the real termcap/info file as
44 # some programs (e.g. vi) will not work anymore.
45 termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
46 terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
47 # 80/132 column switching must be enabled for ^AW to work
48 termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
49 # Make the output buffer large for (fast) xterms.
50 termcapinfo xterm* OL=100