Skip to content

Instantly share code, notes, and snippets.

@yongbin
Created November 16, 2013 01:04
Show Gist options
  • Save yongbin/7494465 to your computer and use it in GitHub Desktop.
Save yongbin/7494465 to your computer and use it in GitHub Desktop.
제가 사용하는 ~/.screenrc 입니다.
vbell off
bindkey -k k1 select 0
bindkey -k k2 select 1
bindkey -k k3 select 2
bindkey -k k4 select 3
bindkey -k k9 screen
bindkey -k k; screen sudo su
# Bind F11 to Ctrl-A + n
bindkey -k F1 prev
# Bind F11 to Ctrl-A + p
bindkey -k F2 next
bind R eval "source $HOME/.screenrc" "echo '.screenrc reloaded!'"
bind ^w screen /usr/local/bin/w3m -B
bind ^u screen -t root /usr/local/bin/sudo su
bind ^p screen /usr/bin/env perl -de '1'
bind ^i screen -t irc /usr/local/bin/weechat-curses irc://yongbin@irc.freenode.org/#perl-kr
bind w focus
# Options
autodetach on
# Show Windows Status
hardstatus alwayslastline
#hardstatus string "[SESSION]: %-w%{= BW}%50>%n %t%{-}%+w%< [SHORTCUT]: CTRL+M MYSQL | CTRL+W W3M | CTRL+I IRC | <F9> new screen | <F10> su - "
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
escape '``'
#escape ^U^U
# ACL
#multiuser on
#acladd temp_user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment