Closed tpope closed 10 years ago
Yes, I think you're right. I avoided doing this initially to mirror the builtin text objects, but I don't really see any downsides.
Vim-sexp is a breath of fresh air after paredit
I thought you'd prefer this approach :)
Also, you're probably right about the mapping system being a bit convoluted. I think maybe I'll just do what everyone else does and use if !hasmapto() …
. I guess I was trying to save users from having to nmap
, xmap
, and/or omap
every single mapping they wanted to change (which I always anticipated would be many of them).
Oh, and thanks for the plug!
Makes sense, right? I want it in particular for a generic "eval top level form" operation, where the top level form might just be a symbol.
Vim-sexp is a breath of fresh air after paredit, thank you :)