This commit is contained in:
2025-10-11 22:41:24 +05:00
parent d0401c8c07
commit aaf079c4f4
20 changed files with 357 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
vim.keymap.set('n', 'mn', ':Neotree dir=./', { desc = "Open NeoTree" })
vim.keymap.set('n', 'mt', ':ToggleTerm size=15', { desc = "Terminal" })

12
nvim/lua/config/lazy.lua Normal file
View File

@@ -0,0 +1,12 @@
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
require("lazy").setup({
spec = {
{ import = "plugins" },
},
checker = {
enabled = true,
notify = false,
},
})

View File

@@ -0,0 +1,39 @@
-- Нумерация строки
vim.opt.number = true
-- Табуляция
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
-- Подсветка текущей строки
vim.opt.cursorline = true
-- Прокрутка
vim.opt.scrolloff = 5
vim.opt.sidescrolloff = 5
vim.opt.list = true
vim.opt.listchars = {
tab = '',
trail = '·',
nbsp = '',
extends = '',
precedes = ''
}
vim.opt.fillchars = { eob = " " }
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.incsearch = true
vim.opt.hlsearch = true
vim.opt.wrapscan = true
vim.opt.inccommand = "split"
-- Выкл netrw для nvim-tree
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.barbar_auto_setup = false