Skip to content

Commit 42ba661

Browse files
authored
Update init.lua
1 parent 71ccfc8 commit 42ba661

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

init.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ vim.g.have_nerd_font = true
9898
-- NOTE: You can change these options as you wish!
9999
-- For more options, you can see `:help option-list`
100100

101+
-- Русский язык
102+
vim.opt.langmap =
103+
"ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz"
104+
101105
-- Make line numbers default
102106
vim.opt.number = true
103107
-- You can also add relative line numbers, to help with jumping.
@@ -163,6 +167,7 @@ vim.opt.scrolloff = 10
163167

164168
-- [[ Basic Keymaps ]]
165169
-- See `:help vim.keymap.set()`
170+
vim.keymap.set("i", "jk", "<Esc>")
166171

167172
-- Set pasting from 0 register
168173
vim.keymap.set('n', '<leader>p', '"0p')

0 commit comments

Comments
 (0)