# basic settings... self explainatory nethack on deflogin on autodetach on startup_message off # the dash makes it a login shell defshell -$SHELL shell -$SHELL activity "" bell_msg "" vbell off vbell_msg "" defscrollback 2048 nonblock on defutf8 on defbce on defflow off msgwait 1 altscreen on # only Shift+k to kill - prevent accidents bind k bind ^k bind K kill # resizing bind = resize = bind + resize +3 bind - resize -3 # Use the \ key instead of "C-a" for commands escape ^\\\ term screen-256color terminfo rxvt* 'ti@:te@:Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # Here comes the pain... hardstatus alwayslastline "%{=bu kg}(%H %l%)(%{= kw} %=%?%-Lw%?%{=b kc}((%n %t))%{= kw}%?%+Lw%?%= %{=bu kg})(%D %Y.%m.%d %0C%A)" #let pgup/pgdn scroll under urxvt (see .Xdefaults) bindkey "^[[5;2~" eval "copy" "stuff ^u" bindkey -m "^[[5;2~" stuff ^u bindkey -m "^[[6;2~" stuff ^d # C-left, C-right to change windows bindkey "^[[5C" next bindkey "^[[5d" prev screen bash