问题标签 [vimclojure]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
vim - Vim 和 Clojure,我可以将 Slimv 或 VimClojure 与 ritz 或其他 REPL 一起使用吗?
我可以成功配置两者Slimv
,VimClojure
但我想知道是否可以将其中任何一个设置为与任何swank server
(ritz
例如)一起使用。
谢谢!
windows-7 - 如何在 Windows 7 上安装 VimClojure
我将不胜感激有关如何在 Windows 7 工作站上安装 VimClojure 的说明。我有 lein 和它需要安装和工作的一切。
我的文件位于 c:\Users\ 下的默认登录目录中
VimClojure 应该放在哪里?目前,我已将其放在vimfiles
. 那是对的吗?我目前对使用 NailGun 不感兴趣。我只想要语法突出显示。
clojure - Can't get VimClojure to talk to NGServer
I'm trying to setup Vim as a Clojure programming environment, using these instructions:
I'm able to start ng-server
from the root of a Leiningen project. But whenever I try to start a repl in vim, I get:
I have VimClojure
plugin installed and added these lines to my .vimrc
file:
RainbowParens
is working and I can get a response from ng
on the command line.
I also tried slime.vim
. While it works, it takes a full 5 seconds to respond to a simple (+ 2 3)
typed in vim
, which is rather annoying.
Help?
clojure - 在 VimClojure 中禁用窗口重新定位?
我正在使用VimClojure插件。有时当我使用o
插入新行时,插件会重新定位窗口并将当前行移动到窗口底部。这很烦人,尤其是当我输入zz
以使当前行居中时。
我已阅读文档但没有发现任何相关内容,有人可以告诉我如何禁用此功能吗?
编辑:感谢 Ingo Karkat 的建议,切换到 foreplay.vim将解决这个问题。
clojure - 如何从 lein repl 中删除函数?
在 lein REPL 会话期间,我可以定义许多函数。但是,有时我希望会话“忘记”它们 - 例如,当我执行 (run-all-tests) 时,这会突出显示我不再需要的测试失败。有没有办法在不重新启动的情况下从会话中删除功能或清理它?
vim - 如何更改 vim-clojure-static 插件的默认设置?
我是clojure编程的新手。我正在使用vim编辑器。我已经安装了vim-clojure-static插件来编写更好的代码。但它没有像我预期的那样工作。我希望每个特殊关键字都有两个空格缩进。
例如,这里是core.clj文件。
这是默认缩进。我不喜欢这个。我希望我的代码看起来像:
这意味着,我希望每个特殊关键字都有两个空格缩进,即在给定的示例中 尝试。
同时我不确定,我是否以正确的方式安装了*plugin。这是我的.vim目录结构:
这是我的vimrc文件:
谁能告诉我,我错在哪里?如何使用空格*two进行自动缩进?谢谢。