Any clean/context-aware solutions for inserting single quotes or backticks if you have auto-pairs installed? I’ve been doing '<esc>lx
but it’s getting a bit annoying.
Edit: to clarify, single single-quotes or backticks
I use parinfer-rust.
@dave cool, thanks, that works well
I configured auto pairs not to pair single quotes or backticks when in a Lisp filetype. https://github.com/daveyarwood/dotfiles/blob/2d0a5f3c204932a2898913a772df210058b25897/vim/custom/500-plugins-config.vim (Then I ended up disabling autopairs altogether for Lisp, since it conflicts with parinfer)
Argh, I meant to link to the specific line number. On mobile at the moment. Search for auto pairs and you'll find what I'm talking about :)
found it, thanks! I guess that’s a good enough solution, although maybe I should take a look at parinfer (I’ve been using vim-sexp + auto-pairs so far)
do you use this version? https://github.com/bhurlow/vim-parinfer
wait, I didn’t realize vim-sexp does automatic paren/bracket pairing too. that’s perfect