finish basic files refactor

This commit is contained in:
Maciej Lebiest 2023-02-12 18:26:24 +01:00
parent 94fd2627b9
commit 2754473139
28 changed files with 715 additions and 666 deletions

View file

@ -1,13 +1,20 @@
require("initializer")
vim.opt.mouse = "c" -- set mouse in command line mode
vim.opt.colorcolumn = "80" -- highlight this column
vim.opt.relativenumber = true
vim.opt.number = true
vim.opt.clipboard = "unnamedplus" -- synchronize with system clipboard
vim.opt.swapfile = false
vim.opt.cursorline = true
--make sure Lazy is installed
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
vim.opt.termguicolors = true
vim.cmd [[
highlight clear
colorscheme dracula
]]
-- load all plugins
require("lazy-load")
-- load general config
require("general")