15 lines
646 B
Lua
15 lines
646 B
Lua
local set = vim.keymap.set
|
|
|
|
-- Basic movement keybinds, these make navigating splits easy for me
|
|
-- set("n", "<c-j>", "<c-w><c-j>")
|
|
-- set("n", "<c-k>", "<c-w><c-k>")
|
|
-- set("n", "<c-l>", "<c-w><c-l>")
|
|
-- set("n", "<c-h>", "<c-w><c-h>")
|
|
|
|
-- 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><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>")
|