Gruvbox theme, relative line numbers, disable indent-blankline, russian

keyboard layout support.
This commit is contained in:
phomenes 2023-07-30 19:10:22 +03:00
parent 3dc1c1c4c2
commit e7cc25d7c4
1 changed files with 9 additions and 6 deletions

View File

@ -130,11 +130,11 @@ require('lazy').setup({
},
{
-- Theme inspired by Atom
'navarasu/onedark.nvim',
-- Retro groove color scheme for Vim
'morhetz/gruvbox',
priority = 1000,
config = function()
vim.cmd.colorscheme 'onedark'
vim.cmd.colorscheme 'gruvbox'
end,
},
@ -144,8 +144,8 @@ require('lazy').setup({
-- See `:help lualine.txt`
opts = {
options = {
icons_enabled = false,
theme = 'onedark',
icons_enabled = true,
theme = 'auto',
component_separators = '|',
section_separators = '',
},
@ -161,6 +161,7 @@ require('lazy').setup({
char = '',
show_trailing_blankline_indent = false,
},
optional = true,
},
-- "gc" to comment visual regions/lines
@ -214,7 +215,7 @@ require('lazy').setup({
vim.o.hlsearch = false
-- Make line numbers default
vim.wo.number = true
vim.wo.relativenumber = true
-- Enable mouse mode
vim.o.mouse = 'a'
@ -518,3 +519,5 @@ cmp.setup {
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et
vim.o.langmap = 'ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz'