Update init.lua

This commit is contained in:
chibs4 2024-11-19 14:18:39 +03:00 committed by GitHub
parent 71ccfc85bc
commit 42ba661c86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

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