diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 069771f..cc61d76 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -14,6 +14,9 @@ vim.keymap.set('n', 'q', vim.diagnostic.setloclist, { desc = 'Open diagn -- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier vim.keymap.set('t', '', '', { desc = 'Exit terminal mode' }) +-- Open terminal in current window +vim.keymap.set({ 'n', 'v' }, 'to', 'term', { desc = '[T]erminal [O]pen' }) + -- Disable arrow keys in normal mode vim.keymap.set({ 'n', 'v' }, '', 'echo "Use h to move!!"') vim.keymap.set({ 'n', 'v' }, '', 'echo "Use l to move!!"')