Add keymap for russian C-W functionality
This commit is contained in:
parent
db5e4477d1
commit
82084adcb7
2 changed files with 5 additions and 0 deletions
|
@ -9,3 +9,7 @@ local set = vim.keymap.set
|
||||||
-- Bindings for reloading LUA files (used when working with lua files)
|
-- Bindings for reloading LUA files (used when working with lua files)
|
||||||
-- 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" })
|
||||||
|
|
||||||
|
-- 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>")
|
||||||
|
|
|
@ -26,3 +26,4 @@ opt.colorcolumn = "80"
|
||||||
|
|
||||||
-- config to set up clipboard as default register
|
-- config to set up clipboard as default register
|
||||||
opt.clipboard:append("unnamedplus")
|
opt.clipboard:append("unnamedplus")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue