From 8213801b89e9d2a27c6b1df50881b8476679b870 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 2 Dec 2021 23:02:50 +0100 Subject: LunarVim updates --- .config/nvim/lua/core/which-key.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.config/nvim/lua/core/which-key.lua') diff --git a/.config/nvim/lua/core/which-key.lua b/.config/nvim/lua/core/which-key.lua index 85f766c..333ce6d 100644 --- a/.config/nvim/lua/core/which-key.lua +++ b/.config/nvim/lua/core/which-key.lua @@ -61,7 +61,10 @@ M.config = function() -- NOTE: Prefer using : over as the latter avoids going back in normal-mode. -- see https://neovim.io/doc/user/map.html#:map-cmd vmappings = { - ["k"] = { "lua ___comment_gc(vim.fn.visualmode())", "Comment" }, + ["k"] = { + "lua require('Comment.api').gc(vim.fn.visualmode())", + "Comment", + }, }, mappings = { ["w"] = { "w!", "Save" }, @@ -189,10 +192,7 @@ M.config = function() "edit " .. get_config_dir() .. "/config.lua", "Edit config.lua", }, - k = { - "lua require('keymappings').print()", - "View NeoVim's default keymappings", - }, + k = { "Telescope keymaps", "View NeoVim's keymappings" }, i = { "lua require('core.info').toggle_popup(vim.bo.filetype)", "Toggle NeoVim Info", -- cgit v1.2.3-70-g09d2