This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-23
Channels
- # announcements (1)
- # babashka (13)
- # cherry (12)
- # cider (6)
- # clj-kondo (3)
- # cljs-dev (28)
- # clojure (77)
- # clojure-europe (25)
- # clojure-nl (1)
- # clojure-norway (35)
- # clojure-uk (5)
- # clojurescript (31)
- # conjure (7)
- # cursive (12)
- # data-science (9)
- # datalevin (5)
- # datomic (8)
- # hyperfiddle (21)
- # jobs (7)
- # kaocha (19)
- # malli (26)
- # matrix (3)
- # releases (1)
- # shadow-cljs (42)
- # squint (95)
- # testing (2)
- # vim (14)
- # wasm (1)
I have recently started to try out NeoVim and Conjure, and it is quite nice! However, when I added the vim-sexp plugin, it seems it maps <localLeader>l for sexp_insert_at_list_tail, which conflicts with conjure's mappings for log buffers. Since the plugin vim-sexp-mappings-for-regular-people provides a better mapping for the insert operation here, I just want to skip that particular mapping that vim-sexp sets up. However, I am not sure how to get Conjure's key mapping to take priority here. I use the Lazy plugin manager for plugins.
I think I have solved this by adding vim-sexp as a dependency to Olical/conjure.
Personal preference here: but I'd prefer disabling the mapping in vim-sexp vs relying on the ordering of the package manager.
I would prefer that also, but I am not sure how I can do that.
Looks like you can do so using g:sexp_mappings
with more options in :help sexp-explicit-mappings
(https://github.com/guns/vim-sexp#mappings)
FYI, I don't use vim-sexp so this is probably as far as I can tinker 😅
There is also nvim-parinfer and/or nvim-paredit as alternatives, which also uses Neovim treesitter so is very efficient
@U5W78K2UF Yes, I figured out that far, although I do not think I can remove any mappings, just override them with something else, which might be good enough though. @U05254DQM That is interesting, I will check them out. Thanks!