SUBLIME TEXT 2中,光标移入移出括号的快捷键设置

无赖右方向键→和End键都在键盘的另一边,每次输入完一个函数,光标在各种括号中间,有什么更好的方式将光标移出来呢?

在Sublime Text 2中,我们可以自己设置快捷键:

{ "keys": ["ctrl+alt+space"], "command": "move", "args": {"by": "characters", "forward": true} },
{ "keys": ["shift+space"], "command": "move", "args": {"by": "characters", "forward": false} },
{ "keys": ["alt+space"], "command": "move", "args": {"by": "word_ends", "forward": true} },
{ "keys": ["shift+alt+space"], "command": "move", "args": {"by": "word_ends", "forward": false} },
{ "keys": ["alt+enter"], "command": "move", "args": {"by": "lines", "forward": true} },
{ "keys": ["shift+alt+enter"], "command": "move", "args": {"by": "lines", "forward": false} }

快捷键对照:
ctrl+alt+space 右移光标一个字
shift+space 左移光标一个字
alt+space 右移光标一个单元
shift+alt+space 左移光标一个单元
alt+enter 下移光标一行
shift+alt+enter 上移光标一行

shift+回车就完全当做老蔡的买一赠一了,作用跟ctrl+回车不太一样的地方是,不新建一行。

原文出处:http://www.oldcai.com/archives/788

转载于:https://www.cnblogs.com/AI-Algorithms/p/3850964.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值