Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

光标快捷键 #24

Open
Clearives opened this issue Nov 11, 2019 · 0 comments
Open

光标快捷键 #24

Clearives opened this issue Nov 11, 2019 · 0 comments
Labels

Comments

@Clearives
Copy link
Owner

光标快捷键

ctrl键组合

ctrl+a  //光标移到行首
ctrl+b  //光标左移
ctrl+f  //光标右移
ctrl+c  //杀死当前进程
ctrl+d  //退格删除
ctrl+e  //光标移到行尾
ctrl+h  //删除光标前一个字符,同 delete 键相同
ctrl+k  //清除光标后至行尾的内容
ctrl+l  //清屏,相当于clear
ctrl+r  //搜索之前打过的命令。会有一个提示
ctrl+u  //清除光标前至行首间的所有内容
ctrl+w  //移除光标前的一个单词
ctrl+t  //交换光标位置前的两个字符
ctrl+y  //粘贴或者恢复上次的删除
ctrl+d  //删除光标所在字母;注意和backspace以及ctrl+h的区别,这2个是删除光标前的字符
ctrl+f  //光标右移
ctrl+z  //把当前进程转到后台运行,使用**fg**命令恢复。比如top -d1 然后ctrl+z ,到后台,然后fg,重新恢复

esc组合

esc+d //删除光标后的一个词
esc+f //往右跳一个词
esc+b //往左跳一个词
esc+t //交换光标位置前的两个单词。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant