-- Keymaps are automatically loaded on the VeryLazy event -- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua -- Add any additional keymaps here local bind = vim.keymap.set local opts = { silent = true, noremap = true } -- for russian layout bind("i", "", "", opts) bind("n", "л", "gk", opts) bind("n", "о", "gj", opts) bind("i", "", "u", opts) bind("i", "", "u", opts) bind("n", "[c", function() require("treesitter-context").go_to_context() end) vim.keymap.set("n", "[", "call append(line('.') - 1, repeat([''], v:count1))") vim.keymap.set("n", "]", "call append(line('.'), repeat([''], v:count1))")