From 92d17673057ef3ee6d8872614e1a0f134b855be6 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 25 Aug 2024 01:40:24 +0200 Subject: [PATCH] Last command keymap --- lua/keymaps.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 7b5c7b1..06fbe28 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -15,6 +15,7 @@ vim.keymap.set('n', 'e', vim.diagnostic.open_float, { desc = 'Show diagn vim.keymap.set('n', 'q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) vim.keymap.set('n', 'l', 'Lazy', { desc = 'Lazy plugin manager' }) +vim.keymap.set('n', '1', '!!', { desc = 'Run last command' }) -- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier -- for people to discover. Otherwise, you normally need to press , which