Emacs shutcuts

本文提供了Emacs编辑器的详细快捷键指南,包括文件操作、光标移动、文本编辑、搜索替换、窗口切换等核心功能的快捷键说明,是Emacs新手入门及进阶的实用参考资料。

 

Emacs shutcuts

show line number ???

 

C-f Move forward a character

C-b Move backward a character

C-n Move to next line
C-p Move to previous line

 

M-f Move forward a word
M-b Move backward a word

C-a Move to beginning of line
C-e Move to end of line

M-a Move back to beginning of sentence
M-e Move forward to end of sentence

 

 

del

<DEL> Delete the character just before the cursor
C-d Delete the next character after the cursor

M-<DEL> Kill the word immediately before the cursor
M-d Kill the next word after the cursor

C-k Kill from the cursor position to end of line
M-k Kill to the end of the current sentence

 

File


C-x C-f Find file
C-x C-s Save file
C-x s Save some buffers


C-x C-b List buffers
C-x b Switch buffer
C-x C-c Quit Emacs
C-x 1 Delete all but one window
C-x u Und

 

 

To exit Emacs use C-x C-c.

This tutorial is meant to be understandable to all new users, so if
you found something unclear, don't sit and blame yourself - complain! : ) 

 

Search and Replace

C-r /C-s

M+Shift+%

 

copy and stick

 

Ctrl-W, Alt-W, Ctrl-Y

 

switch frame

 

C-x hit o

 

close buffer

C-x k

trun around frame

https://www.cnblogs.com/doveyoung/archive/2012/02/05/multi-window-2.html 

 

shell command / M-x 

the last command for shell  : M-p 

the next command for shell :M-n

clearing the screen for shell: C-c M-o  

 

转载于:https://www.cnblogs.com/maxlon/p/9804757.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值