Skip to content

Instantly share code, notes, and snippets.

View grexor's full-sized avatar

Gregor Rot grexor

View GitHub Profile
@grexor
grexor / .screenrc
Created October 29, 2023 17:27
.screenrc
vbell off
hardstatus alwayslastline
hardstatus string '%{gk}%{G}%H%{g}%= %{wk}%?%-Lw%?%{=b kW}%n*%f %t%?(%u)%?%{= kw}%?%+Lw%?%?%= %{g}%{Y}%l%{g}%{=b C} %c%{W}'
autodetach on # Autodetach session on hangup instead of terminating screen completely
startup_message off # Turn off the splash screen
defscrollback 30000 # Use a 30000-line scrollback buffer
termcapinfo xterm* ti@:te@
@grexor
grexor / .bashrc
Created November 24, 2023 14:02
bashrc
bind '"\C-p": end-of-line'
bind '"\C-o": beginning-of-line'
@grexor
grexor / .vimrc
Created November 24, 2023 14:08
vimrc
inoremap <C-o> <C-o>0
inoremap <C-p> <C-o>$