editors

Discussion about all editors used for Clojure/ClojureScript
dominicm 2016-04-18T11:19:23.000002Z

snippet ns "Set the namespace. Automatically figures out appropriate ns using fireplace" i
(ns `!v fireplace#ns()`
  $0)
endsnippet
Handy little snippet for vim users in Ultisnips. @juhoteperi You might like this since you removed vim-salve

juhoteperi 2016-04-18T11:40:14.000003Z

@dominicm: Hmm, how would I use that?

juhoteperi 2016-04-18T11:40:53.000004Z

Looks like it is for ultisnips. I don't use that either 😄

dominicm 2016-04-18T12:09:48.000005Z

@juhoteperi: you could ;-) its very lightweight. Great for repetitive structures.

dominicm 2016-04-18T12:40:35.000006Z

But I really miss having the namespace auto-inserted by salve. So that snippet handles it for me.

dominicm 2016-04-18T12:40:45.000007Z

I might do it with an autocmd at some point, not sure