Fork me on GitHub
#vim
<
2016-10-25
>
mikepjb18:10:21

hey guys, using :set lisp fixes some indentation problems I’ve been having with aligning in vim with vip= etc - I don’t know if this is included in a plugin I’m unaware of, hopefully this tip saves you the same frustration!

markwoodhall22:10:00

I’ve been experimenting a little more. This example uses the expression register and a variable holding the last known loaded dependency. They are rubbish mappings but for testing I have <localleader>fd to find the dependency in Clojars and then <localleader>pud to use the expression register and put the last loaded dependency into project.clj at the current cursor position. http://i.imgur.com/zjtWxHT.png

markwoodhall22:10:30

I could obviously manipulate project.clj on the fly but not sure that would be desirable in some scenarios.

mikepjb22:10:20

wow, nice work @markwoodhall