用户注册



邮箱:

密码:

用户登录


邮箱:

密码:
记住登录一个月忘记密码?

发表随想


还能输入:200字
云代码 - 其他代码库

bash shell emacs模式

2014-11-10 作者: cssin举报

[其他]代码库

BASIC Command
Command		Description
CTRL-B		Move backward one character (without deleting)
CTRL-F		Move forward one character
CTRL-H		Delete one character backward
CTRL-D		Delete one character forward
当命令行为空时,CTRL-D将登出shell

WORD Command
ESC-B		Move one word backward
ESC-F		Move one word forward
ESC-DEL		Kill one word backward
ESC-CTRL-H	Kill one word backward
ESC-D		Kill one word forward
CTRL-Y		Retrieve (“yank”) last item killed

LINE Command
CTRL-A		Move to beginning of line
CTRL-E		Move to end of line
CTRL-K		Kill forward to end of line

History List
CTRL-P		Move to previous line
CTRL-N		Move to next line
CTRL-R		Search backward
ESC-<		Move to first line of history list
ESC->		Move to last line of history list

Textual Completion
TAB 		Attempt to perform general completion of the text
ESC-?		List the possible completions
ESC-/		Attempt filename completion
CTRL-X/		List the possible filename completions
ESC-~		Attempt username completion
CTRL-X~		List the possible username completions
ESC-$		Attempt variable completion
CTRL-X$		List the possible variable completions
ESC-@		Attempt hostname completion
CTRL-X@		List the possible hostname completions
ESC-!		Attempt command completion
CTRL-X!		List the possible command completions
ESC-TAB		Attempt completion from previous commands in the history list

Miscellaneous Commands
CTRL-J		Same as RETURN
CTRL-L		Clears the screen, placing the current line at the top of the screen
CTRL-M		Same as RETURN
CTRL-O		Same as RETURN, then display next line in command history
CTRL-T		Transpose two characters on either side of point and move point forward by one
CTRL-U		Kills the line from the beginning to point
CTRL-V		Quoted insert
CTRL-[		Same as ESC (most keyboards)
ESC-C		Capitalize word after point
ESC-U		Change word after point to all capital letters
ESC-L		Change word after point to all lowercase letters
ESC-.		Insert last word in previous command line after point
ESC-_		Same as ESC-.


网友评论    (发表评论)


发表评论:

评论须知:

  • 1、评论每次加2分,每天上限为30;
  • 2、请文明用语,共同创建干净的技术交流环境;
  • 3、若被发现提交非法信息,评论将会被删除,并且给予扣分处理,严重者给予封号处理;
  • 4、请勿发布广告信息或其他无关评论,否则将会删除评论并扣分,严重者给予封号处理。


扫码下载

加载中,请稍后...

输入口令后可复制整站源码

加载中,请稍后...