Remap digraphs binding and fix tmux-navigator

This commit is contained in:
t0xa 2026-02-09 22:35:35 +03:00
parent 98a4c8d4c1
commit 9ae32a56b1
2 changed files with 5 additions and 1 deletions

View file

@ -6,6 +6,7 @@ return {
"TmuxNavigateUp",
"TmuxNavigateRight",
"TmuxNavigatePrevious",
"TmuxNavigatorProcessList",
},
keys = {
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
@ -15,4 +16,4 @@ return {
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
},
}
-- return {}

View file

@ -10,6 +10,9 @@ local set = vim.keymap.set
-- set("n", "<leader>x", "<cmd>.lua<CR>", { desc = "Execute the current lne" })
set("n", "<leader><leader>x", "<cmd>source %<CR>", { desc = "Execute the current file" })
-- Remap digraph insertion (Ctrl-K conflicts with tmux navigation)
set("i", "<C-d>", "<C-k>", { desc = "Insert digraph" })
-- Following section purprose is to rebind some Russian missing binds
-- TODO: Maybe there is more clean and percise way, dunno right now
set("i", "<C-ц>", "<C-W>")