Sublime Text越来越流行,但却没有提供其他编辑器好用的Ctrl + left / right方向键跳转至行首或行末的快捷键! 那让我们自己来设置一下,菜单中依次打开 Sublime Text 2 > Preferences > Key Bindings – User:
然后将下面的代码贴入打开的文件”Default (OSX).sublime-keymap” 中:
mac中使用:
{ "keys": ["super+right"], "command": "move_to", "args": { "to": "hardeol" } },
{ "keys": ["super+left"], "command": "move_to", "args": { "to": "hardbol" } }
Windows中可以使用 Home 和 End 键盘:
{"keys":["home"], "command":"move_to", "args":{"to":"bol"} },
{"keys":["end"], "command":"move_to", "args":{"to":"eol"} }
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有