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