Remap digraphs binding and fix tmux-navigator
This commit is contained in:
parent
98a4c8d4c1
commit
9ae32a56b1
2 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ return {
|
||||||
"TmuxNavigateUp",
|
"TmuxNavigateUp",
|
||||||
"TmuxNavigateRight",
|
"TmuxNavigateRight",
|
||||||
"TmuxNavigatePrevious",
|
"TmuxNavigatePrevious",
|
||||||
|
"TmuxNavigatorProcessList",
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
|
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
|
||||||
|
|
@ -15,4 +16,4 @@ return {
|
||||||
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
|
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
-- return {}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,9 @@ local set = vim.keymap.set
|
||||||
-- set("n", "<leader>x", "<cmd>.lua<CR>", { desc = "Execute the current lne" })
|
-- 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" })
|
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
|
-- Following section purprose is to rebind some Russian missing binds
|
||||||
-- TODO: Maybe there is more clean and percise way, dunno right now
|
-- TODO: Maybe there is more clean and percise way, dunno right now
|
||||||
set("i", "<C-ц>", "<C-W>")
|
set("i", "<C-ц>", "<C-W>")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue