# +AMDG vbell off # Remove some stupid / dangerous key bindings bind ^k #bind L bind ^\ # control + left; previous screen window bindkey ^J prev # control + right; next screen window bindkey ^L next # control + up; previous split screen bindkey ^P focus up # control + down; next split screen bindkey ^O focus down # Split horizontally bindkey -k k5 split # Split vertically bindkey -k k6 split -v # kill screen bindkey ^K kill # Title bindkey ^T title # New tab bindkey ^N screen # Detach tab bindkey ^D remove # resize -1 line bindkey -k k7 resize +1 # resize +1 line bindkey "^[[19~" resize -1 # Scroll defscrollback 1000 # Scroll up bindkey -d "^[[5S" eval copy "stuff 5\025" bindkey -m "^[[5S" stuff 5\025 # Scroll down bindkey -d "^[[5T" eval copy "stuff 5\004" bindkey -m "^[[5T" stuff 5\004 # Scroll up more bindkey -d "^[[25S" eval copy "stuff \025" bindkey -m "^[[25S" stuff \025 # Scroll down more bindkey -d "^[[25T" eval copy "stuff \004" bindkey -m "^[[25T" stuff \004 shelltitle "$ |bash" startup_message off hardstatus alwayslastline hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' termcapinfo xterm|xterms|xs|rxvt ti@:te@ #caption always #caption string "%{= kB}%-Lw%{=s kB}%50>%n%f* %t %{-}%+Lw%<" # open programs with escape plus the binding; also names tab # avoid screen conflicting with vi bindings; basically, # whenever it sees "escape", screen waits for more # characters, and only passes the escape to the program # after a short pause; this sets the pause to zero maptimeout 0 defc1 off