移动到代码行的开始:Emacs [英] Moving to the start of a code line: Emacs
本文介绍了移动到代码行的开始:Emacs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以浏览代码时:() x in xy | z:
。在输入 C-a 时,我们得到:xyz中的x的 |():
。但是,我想这样:()| for x in xyz:
表示cursor和()表示空格或制表符。
如何使这样做?
解决方案
元 - m
I use emacs for development and very often need to move to the start of a line (C-a). However if the line is indented, I'd like to move to the point at which code starts.
So while browsing code: ( ) for x in xy|z:
. On typing C-a we get this: |( ) for x in xyz:
. But instead, I would like this:( ) |for x in xyz:
Here | indicates cursor and () indicate spaces or tabs.
How can I make make this happen?
解决方案
Meta-m
这篇关于移动到代码行的开始:Emacs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文