screen配置文件

### screen customization ###

 

# wowoto

############################

 

# 关闭启动画面

startup_message off        # default: on

 

# Automatically detach on hangup, or the screen will keep eating your memory after the terminal emulator has been terminated.

autodetach on      # default: on

 

# 打开vbell

vbell on

# 指定 shell

shell bash

# 默认开始路径为~

# chdir

 

# 定义回滚行数

defscrollback 10000

 

# 指定编码

defencoding utf-8

encoding utf-8 utf-8

 

# 定制 caption

caption always "%{=b}%{b}%{C}[stream]%{-}  %+010=%-w%8L>%{uB .my}*%n %t%{-}%+w%-014<  %-012=%{b m}%m-%d %c "

 

# 定制 title bar

term rxvt

termcapinfo rxvt 'hs:ts=/E]2;:fs=/007:ds=/E]2;screen/007'

 

### ====== 键绑定 ======

# 将快捷键默认 C-a 设为 C-l

escape ^X^X

 

# 定制 region 函数键与Emacs一致

bind 2 split

bind o focus

bind 1 only

bind 0 remove

 

# bind F7 to create a new screen

bindkey -k k7 screen

# bind F8 to kill current screen window

bindkey -k k8 kill

 

# bind F9 to detach screen session

bindkey -k k9 detach

# bind F11 to "move to previous window"

bindkey -k F1 prev

# bind F12 to "move to next window"

bindkey -k F2 next

### ====== 键绑定 ======

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值