This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-03
Channels
- # beginners (20)
- # boot (407)
- # cider (17)
- # cljs-dev (29)
- # cljsrn (33)
- # clojure (169)
- # clojure-greece (17)
- # clojure-russia (47)
- # clojure-spec (40)
- # clojure-uk (81)
- # clojurescript (64)
- # clr (3)
- # copenhagen-clojurians (3)
- # core-async (1)
- # cursive (28)
- # datomic (26)
- # editors-rus (4)
- # emacs (10)
- # events (1)
- # figwheel (1)
- # funcool (1)
- # hoplon (82)
- # jobs (1)
- # klipse (10)
- # lein-figwheel (26)
- # leiningen (1)
- # off-topic (2)
- # om (153)
- # overtone (2)
- # pedestal (15)
- # proton (1)
- # re-frame (6)
- # ring-swagger (1)
- # rum (1)
- # slack-help (4)
- # untangled (56)
- # vim (24)
- # yada (2)
Is there a builtin way of running async shell commands in neovim like :!some awesome task that would be best run in the background
I like termopen()
for when I want to run/view some command in a terminal window, but stay in normal mode.
It would be :call termopen()
check the help for it. I've only really dabbled with the function
@snoe Glad you liked it! I'm currently focusing on acid.nvim, but iron already does help me a lot. Feel free to open issues if you think anything is missing 🙂
I've just published v0.2 of acid! https://github.com/hkupty/acid.nvim
This allows user to create commands and handlers for acid, making it a proper platform for asyncrhonous communication between neovim and the nrepl.
There are currently two implemented commands:
* AcidEval
for evaluating a pice of clojure code on the remote REPL
* AcidGoToDefinition
, conveniently mapped to <leader>f
to jump to the definition of the symbol below the cursor.
Several more is planned on the todo: https://github.com/hkupty/acid.nvim/blob/master/TODO.md
Please check out and try! I really need some input so I can keep making it better and better! Also, I'd love to see some plugins using this structure and providing even more features to acid.
Feel free to criticize it, open an issue or a pull request!
Hope you guys enjoy!
There seems to be some overlap with the 0.3.0 TODO and https://github.com/clojure-vim/clj-refactor.nvim Needing to depend on fireplace was the main reason why I couldn't get magic-import from cider implemented (automatically import/require as things are typed). I'll look into using acid for that instead.
It'd be awesome if you could do that. I can totally take that out of the plan, so I can focus on making acid better extensible.
one of my big gripes with fireplace was the cqp
eval buffer losing structural editing - i would love to have something like planck's parinfer there http://blog.fikesfarm.com/posts/2016-02-10-indenting-with-parinfer.html
The commands currently provided are mostly basic examples of how to implement a command.
I'll probably reach 1.0 prior to implementing all the features on TODO, provided that they're outsourced where makes sense.
One thing that comes to mind is allowing overriding handlers, so default handlers can also be overridden by more complete versions of them. For example, current ProtoRepl handler relies on AnsiEsc to colorize and is very simple to what and how to print. It could be overriden by a more robust implementation, that colorizes without needing external plugins