This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-26
Channels
- # announcements (6)
- # aws (5)
- # beginners (42)
- # cider (24)
- # clojure (81)
- # clojure-canada (1)
- # clojure-europe (122)
- # clojured (5)
- # cursive (6)
- # data-science (5)
- # datahike (9)
- # emacs (6)
- # events (2)
- # fulcro (12)
- # helix (4)
- # honeysql (1)
- # jobs-discuss (1)
- # lsp (28)
- # mid-cities-meetup (1)
- # off-topic (31)
- # polylith (13)
- # shadow-cljs (22)
- # spacemacs (8)
- # tools-deps (33)
- # vim (10)
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 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
Ctrl-v will send the next character you press without any mappings or plugins, so Ctrl-v
` will input a single backtick.