Move cursor to start of line with keyboard shortcut in sublime

给你一囗甜甜゛ 提交于 2019-12-11 10:05:50

问题


Sublime text editor

When your cursor is at the start of a line how do you jump to the first character.

Each time i try (with ctrl + -> ) i jumps past the first word eg:

"          DB::dosomecoolstuff();"

The cursor here jumps to the end of the "B" which is really annoying.

I had a look at the ref,: http://docs.sublimetext.info/en/latest/reference/keyboard_shortcuts_win.html

No joy as far as i could see


回答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).



来源:https://stackoverflow.com/questions/35310933/move-cursor-to-start-of-line-with-keyboard-shortcut-in-sublime

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!