如何在Light Table 0.6.0中激活vim模式.文档在编辑器模式中说只是键入"vim"并且它将自动完成,但现在它没有?我应该为用户行为添加什么?
{:+ { ;; The app tag is kind of like global scope. You assign behaviors that affect ;; all of Light Table here :app [(:lt.objs.style/set-skin "dark")] ;; The editor tag is applied to all editors :editor [:lt.objs.editor/no-wrap (:lt.objs.style/set-theme "default")] ;; Here we can add behaviors to just clojure editors :editor.clojure [(:lt.objs.langs.clj/print-length 1000)]} ;; You can use the subtract key to remove behavior that may get added by ;; another diff :- {:app []}}
小智.. 29
有相同的问题,从0.6.0更改日志:
更改:Emacs和Vim现在都是通过插件管理器下载的插件
下载它,重新启动,现在当你输入vim时它会自动完成.
对于默认设置:
:editor [:lt.objs.editor/no-wrap (:lt.objs.style/set-theme "default") :lt.plugins.vim/activate-vim]
要自定义:
:editor [:lt.objs.editor/no-wrap (:lt.objs.style/set-theme "default") :lt.plugins.vim/activate-vim (:lt.plugins.vim/map-keys {"K" "{", "J" "}", "L" "$", "H" "^", "-" "$", "0" "^", "<BS>" "<PageUp>", "<Space>" "<PageDown>", "jj" "jj", "j" "gj", "k" "gk"})]
对于所有Vim模式键绑定,请参阅:https://github.com/marijnh/CodeMirror/blob/master/keymap/vim.js
有相同的问题,从0.6.0更改日志:
更改:Emacs和Vim现在都是通过插件管理器下载的插件
下载它,重新启动,现在当你输入vim时它会自动完成.