Sublime自动补齐括号后如何快速跳出
2017-12-20 12:01
453 查看
在使用Sublime编辑器时,有自动补齐功能,补齐后要跳出常用的做法是去移动光标,这样操作比较麻烦,效率也慢,如下提供一种方式,稍做配置,可以实现补齐输入后,直接按Enter回车键快速跳出。
打开Sublime Text;
菜单栏 –>Preferences –> Key Bindings;
打开后,key-map-User中的中括号里边,输入如下文本,保存。
打开Sublime Text;
菜单栏 –>Preferences –> Key Bindings;
打开后,key-map-User中的中括号里边,输入如下文本,保存。
{"keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context": [ { "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]\\>\\'\\\"\\}\\;\\,]", "match_all": true }, { "key": "preceding_text", "operator": "not_regex_match", "operand": "^.*[\\[\\{]$", "match_all": true }, { "key": "auto_complete_visible", "operator": "equal", "operand": false } ] }
相关文章推荐
- [乐意黎原创]调教Sublime 3之设置快捷键让光标跳出自动补齐的单双引号和大中小括号
- Vim设置括号自动补全和快速跳出
- 【AWS+DaoCloud的应用分享】BootDev如何利用docker在AWS实现超快速自动伸缩
- 【分享】如何使用sublime代码片段快速输入PHP头部版本声明
- 自动诊断信息库ADR简介:涉及如何快速查看alert告警日志与trace文件(1)
- 如何快速取消微博关注 自动删除批量的垃圾关
- 如何设置eclipse的自动补齐功能
- 系统启动时自动跳出网页如何处理
- 在MathType如何让括号随内容自动调整大小的技巧
- Sublime text2 自动补齐功能开启(jedi+sublimecodeintel)
- sublime在vi模式下如何快速给选中的字符串加双引号?
- 如何简洁快速的在Word 2016中给公式自动编号
- ubuntu12.04下vim基本配置自动换行括号自动补齐显示行号等
- 如何设置使windows(dos)命令中目录和文件可以自动完成和补齐
- Intellij Idea如何像Eclipse一样的Tab快捷键可以直接跳出括号
- 如何取消sublime自动提醒更新?(转)
- 系统杂类-----如何让iphone连接电脑不自动跳出“扫描仪和相机向导”
- hotcss.js如何利用sass自动生成css,快速让px转换成rem
- mysql主从复制 设置中继日志自动清除 主从同步失败,如何快速同步
- 如何打开自动补齐功能