add
This commit is contained in:
5
nvim/lua/config/binds.lua
Normal file
5
nvim/lua/config/binds.lua
Normal 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
12
nvim/lua/config/lazy.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = "\\"
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
{ import = "plugins" },
|
||||
},
|
||||
checker = {
|
||||
enabled = true,
|
||||
notify = false,
|
||||
},
|
||||
})
|
||||
|
||||
39
nvim/lua/config/options.lua
Normal file
39
nvim/lua/config/options.lua
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user