vim

For discussion on all things (neo)vim.
Chase 2021-06-16T17:04:59.090800Z

I think `vim-sexp` or `vim-sexp-mappings-for-regular-people` is overriding the `<localleader>l` shortcuts I want to use with conjure. It is calling `<Plug>(sexp-insert-at-list-tail)` . How do I give Conjure preference there?

Chase 2021-06-16T17:06:19.090900Z

Ideally, I would like to put all the vim-sexp, etc. localleader default commands under it's own section. Like &lt;localleader&gt;s pulls up all the commands that were normally just under &lt;localleader&gt;

Chase 2021-06-16T17:07:52.091200Z

This is what is currently happening and I would prefer to hide those Plug commands one level deeper and give me back all my top level local leader options.

Chase 2021-06-16T17:08:07.091400Z

nbardiuk 2021-06-16T17:27:13.091800Z

sexp has an example how to reconfigure the mappings https://github.com/guns/vim-sexp/blob/14464d4580af43424ed8f2614d94e62bfa40bb4d/doc/vim-sexp.txt#L647 . And if you clear g:sexp_filetypes it will also disable sexp-mappings-for-regular-people https://github.com/tpope/vim-sexp-mappings-for-regular-people/blob/master/plugin/sexp_mappings_for_regular_people.vim#L60

Chase 2021-06-16T17:40:07.092300Z

Ahh, ok, this makes the task less intimidating if I can figure this out. Just follow those directions and for every localleader command just add what I want like that leading s right?

Chase 2021-06-16T18:05:57.092500Z

Got it to work! Thanks so much. There is a small typo in those docs where I had to change let s:sexp_mappings to let g:sexp_mappings . Not sure that is worth submitting a pull request over

nbardiuk 2021-06-16T18:21:07.092700Z

yeah, why not, even if author does not merge the PR people will be able to find the discussion