From 9ef6c92187f49ef750969f34aad1ca7380f5b8f6 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 10 Aug 2022 01:23:22 +0200 Subject: [PATCH] nvim: make re-indenting lines use in normal mode, too --- .config/nvim/lua/keymaps.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua index d49daa4..c0c3802 100644 --- a/.config/nvim/lua/keymaps.lua +++ b/.config/nvim/lua/keymaps.lua @@ -43,4 +43,7 @@ map({ 'n', 'i', 'v' }, '', else vim.api.nvim_win_set_cursor(0, { row, 0 }) end - end) + end +) + +map('n', '', '==') -- re-indent line