红联Linux门户
Linux帮助

sublime 2如何进入vim模式

发布时间:2016-02-08 10:44:19来源:linux网站作者:張毅的技術部落

点击菜单栏【Preferences】——【Settings - Defaults】


查找:

"ignored_packages": ["Vintage"]

改为:

"ignored_packages": []

默认打开为插入模式(inserted mode)


如果希望打开默认是命令模式(command mode),点击菜单栏【Preferences】——【Settings - User】,加入:

"vintage_start_in_command_mode": true

(记得在上一行行尾添加逗号【,】,不然无法保存)


与Vim相比,包含的命令:

d (delete), y (copy), c (change), gu (lower case), gU (upper case), g~ (swap case), g? (rot13), < (unindent), and > (indent).

l, h, j, k, W, w, e, E, b, B, alt+w (move by sub-words), alt+W (move backwards by sub-words), $, ^, %, 0, G, gg, f, F, t, T, ^f, ^b, H, M, and L.


本文永久更新地址:http://www.linuxdiyf.com/linux/17943.html