在 sublime 中使用键盘快捷键将光标移动到行首 [英] Move cursor to start of line with keyboard shortcut in sublime
问题描述
当光标位于行首时,如何跳到第一个字符.
When your cursor is at the start of a line how do you jump to the first character.
每次我尝试(使用 ctrl + -> )它都会跳过第一个单词,例如:
Each time I try (with ctrl + -> ) it jumps past the first word eg:
" DB::dosomecoolstuff();"
这里的光标跳到B"的末尾这真的很烦人.
The cursor here jumps to the end of the "B" which is really annoying.
我看了参考:http://docs.sublimetext.io/reference/keyboard_shortcuts_win.html
就我所见,没有喜悦
推荐答案
如果你在一行的开头(或者实际上在一行的任何地方),你可以按 Home 和光标将移动到该行第一个非空白字符之前.再次按 Home,它将移动到行首(第 1 列).
If you're at the beginning of a line (or actually anywhere in a line), you can press Home and the cursor will move to just before the first non-whitespace character on the line. Press Home again, and it will move to the very beginning of the line (column 1).
这篇关于在 sublime 中使用键盘快捷键将光标移动到行首的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!