Fork me on GitHub
#vim
<
2019-10-03
>
lxsli07:10:03

@ dominicm loving vim-jack-in, thanks! Always annoyed me needing a separate terminal

lxsli07:10:07

Due acknowledgement to vim-dispatch and vim-dispatch-neovim also

herald13:10:17

is anyone proficient in using vim-easy-align with clojure? I've never managed to make it work

herald13:10:12

Like how would you align this:

{:foobar ["asdf"]
 :m {}
 :key 1}

Stefan13:10:45

@regen I recently tried this, it seems to work: - Make selection of lines you want to change (shift-v) - press ga for easy align interactive mode - press *<space>

Stefan13:10:27

(probably it can also be done without interactive mode, but I didn’t try that yet)

herald13:10:32

Thanks! That works great

walterl13:10:47

i like keeping default ga behaviour, which leaves me having to go :'<,'>EasyAlign<CR><Space> after visual selection

dharrigan15:10:30

You know what, I've started to really like parinfer in indent mode

dharrigan15:10:58

Took a little while to relax (on giving up absolute control) of where the parens/layout is

dharrigan15:10:18

but in the end, it seems to do the right thing (tm) over 97.42% of the time!

👍 8
Olical15:10:16

That's highly specific 😄 I guess I just really like vim-sexp now, I'm really used to how it works with vim-sexp-mappings-for-regular-people.

💯 4
dharrigan15:10:27

🙂 I think I'm just trying to say that it works most of the time 🙂

Olical15:10:35

It is really neat, which one do you use? I think I tried a rust implementation that was really snappy.

walterl15:10:34

vim-sexp's <LocalLeader>-mapped operations completely changed how i write Clojure ❤️

Olical15:10:55

I hit ,o to raise if I'm editing something like JS and am sorely disappointed when nothing happens. Actually used convolute for the first time the other day too!

dharrigan15:10:31

parinfer-rust

dave19:10:18

I use both parinfer-rust and vim-sexp. They complement each other nicely

dharrigan19:10:13

I use both too 🙂

walterl15:10:22

@alee i'm a vim lifer, so i've never used cider-jack-in. what does vim-jack-in do/provide? is it only to avoid having to run lein repl (for example) in another terminal and connect to it with something like vim-fireplace?

dominicm16:10:14

Largely, yep

dominicm16:10:53

It also removes the need to fiddle with profiles.clj, build.boot or deps.edn to start nrepl with cider loaded

dominicm16:10:13

It can start it on a separate terminal, user choice