diff --git a/module/common/nvim/src/key/Common.lua b/module/common/nvim/src/key/Common.lua index 2e8ff04d..9e6fb31b 100644 --- a/module/common/nvim/src/key/Common.lua +++ b/module/common/nvim/src/key/Common.lua @@ -20,7 +20,7 @@ function toggle_tab_width() end end -rekey_normal("'", "lua toggle_tab_width()") +rekey_normal("", "lua toggle_tab_width()") -- Repeat previous command. rekey_normal(".", "@:") diff --git a/module/common/nvim/src/plugin/Filetree.lua b/module/common/nvim/src/plugin/Filetree.lua index 8d61b72c..a9eb87d1 100644 --- a/module/common/nvim/src/plugin/Filetree.lua +++ b/module/common/nvim/src/plugin/Filetree.lua @@ -4,16 +4,16 @@ vim.g.loaded_netrwPlugin = 1 local function my_on_attach(bufnr) local api = require "nvim-tree.api" - + local function opts(desc) return { desc = "nvim-tree: " .. desc, buffer = bufnr, noremap = true, silent = true, nowait = true } end - + -- Default mappings. api.config.mappings.default_on_attach(bufnr) - + -- Custom mappings. - vim.keymap.set('n', '', api.tree.change_root_to_node, opts('Cd into')) + -- vim.keymap.set('n', '', api.tree.change_root_to_node, opts('Cd into')) end -- Set termguicolors to enable highlight groups.