Fork me on GitHub
#vim
<
2016-10-06
>
markwoodhall05:10:28

Does anyone here know if vim-sexp has support for paredit.vim style paren balancing? e.g it doesn't let you delete a paren that would cause unbalanced code?

markwoodhall05:10:04

I tend to use db quite a lot, with paredit.vim this would only delete back as far as it could without causing unbalanced parens, which I found quite nice.

markwoodhall05:10:05

It's possible there is a more optimal way to do what I'm doing though!

dominicm09:10:33

I found that kind of feature broke all the time. I tend to just daf or hit ( until I can dae

markwoodhall10:10:10

Ah, daf is much more optimal. I agree by the way, it did break a lot.

dominicm22:10:26

It's slightly annoying to me to suggest you change your workflow, so I'm sorry. Overall, paredit doesn't suit vims editing model. Maybe neovim will bring the events needed to make everything work someday? No idea if I want them to necessarily (too unvim?) This is a small battle for today though.