加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

gnu-screen – 如何在屏幕会话中使用Vim的增量(Control-a)?

发布时间:2020-12-15 18:33:20 所属栏目:安全 来源:网络整理
导读:有没有办法将屏幕上的Control-a重新映射到Alt-a或其他东西,所以我可以正常使用Vim中的Control-A(增加光标下的数字)? 从男人的屏幕: -e xy specifies the command character to be x and the character generating a literal command character to y (when
有没有办法将屏幕上的Control-a重新映射到Alt-a或其他东西,所以我可以正常使用Vim中的Control-A(增加光标下的数字)?
从男人的屏幕:

-e xy
specifies the command character to be x and the character generating a literal command character to y (when typed after the command
character). The default is “C-a” and `a’,which can be specified
as “-e^Aa”. When creating a screen session,this option sets the
default command character. In a multiuser session all users added
will start off with this command character. But when attaching to
an already running session,this option changes only the command
character of the attaching user. This option is equivalent to
either the commands “defescape” or “escape” respectively.

defescape xy
Set the default command characters. This is equivalent to the “escape”
except that it is useful multiuser sessions only. In a multiuser session “escape” changes the command character of the calling user,where
“defescape” changes the default command characters for users that will
be added later.

escape xy Set the command character to x and the character generating a literal command character (by triggering the “meta” command) to y (similar to the -e option). Each argument is either a single character,a two-character sequence of the form “^x” (meaning “C-x”),a backslash followed by an octal number (specifying the ASCII code of the character),or a backslash followed by a second character,such as “^” or “”. The default is “^Aa”.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读