This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-15
Channels
- # babashka (3)
- # beginners (28)
- # calva (8)
- # cider (16)
- # clj-on-windows (4)
- # clojure (69)
- # clojure-europe (29)
- # clojure-norway (42)
- # clojure-uk (4)
- # community-development (5)
- # conjure (3)
- # cursive (18)
- # datomic (68)
- # emacs (23)
- # events (1)
- # honeysql (7)
- # introduce-yourself (1)
- # jobs (1)
- # lsp (11)
- # music (1)
- # observability (3)
- # off-topic (35)
- # other-languages (33)
- # releases (1)
- # remote-jobs (2)
- # ring (18)
- # shadow-cljs (16)
- # timbre (5)
- # tools-deps (9)
I'm just starting out with configuring nvim in lua after years of running barebones nvim. I'm trying out LazyVim as a shortcut to getting sensible defaults. I've installed Conjure, and I'm trying to remap some conjure keybindings, as they clash with those of default LazyVim. How do I map this style of keymapping from Conjure to this style from LazyVim?
Conjure:
vim.g["conjure#mapping#doc_word"] = "gk"
LazyVim:
vim.keymap.set("n", "", "j", { desc = "Go to Lower Window", remap = true })
More LazyVim examples here:
https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
I tried variations like
vim.keymap.set("n", "gk", "[conjure#mapping#doc_word]", { desc = "Conjure: doc_word", remap = true })
vim.keymap.set("n", "vs", "conjure#mapping#log_vsplit", { desc = "Conjure: log log_vsplit", remap = true })
, but while they're registered by which-key so that I can see the description when I type e.g. vs
, nothing seems to be called.This seems to work. Is it the proper way to go?
vim.keymap.set("n", "vs", ":ConjureLogSplit", { desc = "Conjure: log split", remap = true })