diff options
| author | christianchiarulli <[email protected]> | 2021-07-06 23:09:09 -0400 | 
|---|---|---|
| committer | christianchiarulli <[email protected]> | 2021-07-06 23:09:09 -0400 | 
| commit | 82c24bd832e57118f4e2e03ed2186a1fb33a94cd (patch) | |
| tree | e8b14fea2600dbac36168d927de57e040d10d4b8 /lua/lv-which-key | |
| parent | e3126124c55a490308bd4e3a8a9a83eaeabb364d (diff) | |
| parent | d6b00cec25296e83c28b2da0cbfe9bc7ad629a70 (diff) | |
Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into stable
Diffstat (limited to 'lua/lv-which-key')
| -rw-r--r-- | lua/lv-which-key/init.lua | 10 | 
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" }, | 
