From f617b121f458e7ab542c38106943ccc9b9eef5b1 Mon Sep 17 00:00:00 2001 From: Sloane Perrault Date: Mon, 19 Sep 2022 08:02:38 -0400 Subject: [PATCH] save before quit key --- .config/nvim/lua/keys.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/keys.lua b/.config/nvim/lua/keys.lua index d3df166..7ea01ea 100644 --- a/.config/nvim/lua/keys.lua +++ b/.config/nvim/lua/keys.lua @@ -32,7 +32,7 @@ map({ 'n', 'v' }, 'P', '"+P') -- Common short-hands map('n', 'w', 'w') -map('n', 'q', 'q') +map('n', 'q', 'wq') map('n', 'o', 'only') wk.register({