Update init.lua
This commit is contained in:
parent
71ccfc85bc
commit
42ba661c86
5
init.lua
5
init.lua
|
@ -98,6 +98,10 @@ vim.g.have_nerd_font = true
|
||||||
-- NOTE: You can change these options as you wish!
|
-- NOTE: You can change these options as you wish!
|
||||||
-- For more options, you can see `:help option-list`
|
-- For more options, you can see `:help option-list`
|
||||||
|
|
||||||
|
-- Русский язык
|
||||||
|
vim.opt.langmap =
|
||||||
|
"ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz"
|
||||||
|
|
||||||
-- Make line numbers default
|
-- Make line numbers default
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
-- You can also add relative line numbers, to help with jumping.
|
-- You can also add relative line numbers, to help with jumping.
|
||||||
|
@ -163,6 +167,7 @@ vim.opt.scrolloff = 10
|
||||||
|
|
||||||
-- [[ Basic Keymaps ]]
|
-- [[ Basic Keymaps ]]
|
||||||
-- See `:help vim.keymap.set()`
|
-- See `:help vim.keymap.set()`
|
||||||
|
vim.keymap.set("i", "jk", "<Esc>")
|
||||||
|
|
||||||
-- Set pasting from 0 register
|
-- Set pasting from 0 register
|
||||||
vim.keymap.set('n', '<leader>p', '"0p')
|
vim.keymap.set('n', '<leader>p', '"0p')
|
||||||
|
|
Loading…
Reference in New Issue