diff --git a/.config/nvim/plugin/mappings/normal.lua b/.config/nvim/plugin/mappings/normal.lua index fa32cc6b..0733c92c 100644 --- a/.config/nvim/plugin/mappings/normal.lua +++ b/.config/nvim/plugin/mappings/normal.lua @@ -2,6 +2,9 @@ local keymap = vim.keymap local cmd = vim.cmd local fn = vim.fn +-- Set to itself to support separate mappings for and . +keymap.set('n', '', '') + -- Quickly close current window. keymap.set('n', 'q', 'q') @@ -11,6 +14,9 @@ keymap.set('n', '', 'k') keymap.set('n', '', 'h') keymap.set('n', '', 'l') +-- Toggle folds. +keymap.set('n', '', 'za') + -- Always send contents of a `x` command to the black hole register. keymap.set('n', 'x', '"_x')