fix: addet keymaps for cmdline directly into the plugin file

This commit is contained in:
pika 2025-03-17 18:54:25 +01:00
parent c163136c6f
commit 2d8f9c127b
2 changed files with 13 additions and 15 deletions

View file

@ -16,10 +16,6 @@ map("n", "<Esc>", "<cmd>nohlsearch<CR>")
map("n", "<S-c>", "gcc", { desc = "comment toggle", remap = true })
map("v", "<S-c>", "gc", { desc = "comment toggle", remap = true })
-- ─< cmd line >────────────────────────────────────────────────────────────────────────
vim.api.nvim_set_keymap("n", ":", "<cmd>FineCmdline<CR>", { noremap = true })
map("n", "T", "<cmd>FineCmdline<CR>")
-- ─< Terminal >────────────────────────────────────────────────────────────────────────
map("t", "<C-x>", "<C-\\><C-N>", { desc = "terminal escape terminal mode" })