From e7cc25d7c4f4e3b3fcd44150166c6f0f09a2107f Mon Sep 17 00:00:00 2001 From: phomenes Date: Sun, 30 Jul 2023 19:10:22 +0300 Subject: [PATCH] Gruvbox theme, relative line numbers, disable indent-blankline, russian keyboard layout support. --- init.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index c6e7a981..a0221748 100644 --- a/init.lua +++ b/init.lua @@ -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'