summaryrefslogtreecommitdiff
path: root/lua/lv-which-key
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lv-which-key')
-rw-r--r--lua/lv-which-key/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/lv-which-key/init.lua b/lua/lv-which-key/init.lua
index f36815b6..984cd202 100644
--- a/lua/lv-which-key/init.lua
+++ b/lua/lv-which-key/init.lua
@@ -84,13 +84,23 @@ vim.api.nvim_set_keymap("v", "<leader>/", ":CommentToggle<CR>", { noremap = true
-- close buffer
vim.api.nvim_set_keymap("n", "<leader>c", ":BufferClose<CR>", { noremap = true, silent = true })
+-- open lv-config
+vim.api.nvim_set_keymap(
+ "n",
+ "<leader>.",
+ ":e " .. CONFIG_PATH .. "/lv-config.lua<CR>",
+ { noremap = true, silent = true }
+)
+
local mappings = {
+ ["."] = "LunarConfig",
["/"] = "Comment",
["c"] = "Close Buffer",
["e"] = "Explorer",
["f"] = "Find File",
["h"] = "No Highlight",
+ [";"] = "Dashboard",
b = {
name = "Buffers",
j = { "<cmd>BufferPick<cr>", "jump to buffer" },