AutoYADM commit: 2024-12-13 16:30:02

This commit is contained in:
Daniel Fichtinger 2024-12-13 16:30:02 -05:00
parent 486f694fbd
commit 25396da2b6
4 changed files with 44 additions and 30 deletions

View file

@ -5,11 +5,14 @@ local wk = require("which-key")
local map = vim.keymap.set
-- Tmux won't forward <C-Cr> to Neovim.
-- So, I've mapped ctrl+enter to \u2190 in kitty,
-- which is the "←" unicode symbol.
KITTY_SPECIAL = ""
map({ "n", "i", "x" }, KITTY_SPECIAL, "<C-Cr>", { remap = true })
-- required to remap special sequence
-- when inside tmux :)
require("tmux-remap").setup({
special = "",
remap = "<C-Cr>",
autoset = true,
})
map({ "n" }, "<C-Cr>", function()
vim.notify("Special!")
end)