From bc4d797cffdda6047481e35f36b210bf722c99d4 Mon Sep 17 00:00:00 2001 From: pro100ton Date: Thu, 30 Jan 2025 10:59:42 +0300 Subject: [PATCH] Add shortcut for exiting terminal state --- lua/t0xa/core/keybindings.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/t0xa/core/keybindings.lua b/lua/t0xa/core/keybindings.lua index b33c87a..55dfcb9 100644 --- a/lua/t0xa/core/keybindings.lua +++ b/lua/t0xa/core/keybindings.lua @@ -9,3 +9,5 @@ vim.keymap.set("n", "otoc", "ObsidianTOC", { silent = true, nor vim.keymap.set("n", "ofl", "ObsidianFollowLink", { silent = true, noremap = true, desc="Obsidian: follow link" }) -- Oil keybinds vim.keymap.set("n", "-", "Oil", { desc = "Open parent directory" }) + -- Easy escape from terminal +vim.keymap.set("t", "", "")