add skeleton file structure
This commit is contained in:
parent
bc35923fe2
commit
e112d0d61e
9 changed files with 76 additions and 10 deletions
26
init.lua
Normal file
26
init.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
-- Leader keys early
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
|
||||
-- Load basic settings, keymaps, autocmds (kept minimal for now)
|
||||
require('settings')
|
||||
require('keymaps')
|
||||
require('autocmds')
|
||||
|
||||
-- Bootstrap lazy.nvim
|
||||
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', '--single-branch',
|
||||
'https://github.com/folke/lazy.nvim.git', lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- Setup plugin system (plugins will be added incrementally)
|
||||
require('lazy').setup({
|
||||
spec = {
|
||||
{ import = 'plugins' },
|
||||
},
|
||||
})
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue