diff options
author | ben <ben@nagy.contact> | 2025-05-03 14:28:00 -0700 |
---|---|---|
committer | ben <ben@nagy.contact> | 2025-05-03 14:28:00 -0700 |
commit | c1e58a905bbdddf109dd3b7473edb2e8076d708b (patch) | |
tree | 47388a1dd7beae74e9b4753761b80c239a1b2ef9 /config/nvim/init.lua | |
parent | dec61653987f584822f87515281e9f82aaac972f (diff) |
current neovim config (lua)
Diffstat (limited to 'config/nvim/init.lua')
-rw-r--r-- | config/nvim/init.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/config/nvim/init.lua b/config/nvim/init.lua new file mode 100644 index 0000000..3b8c4c3 --- /dev/null +++ b/config/nvim/init.lua @@ -0,0 +1,22 @@ +-- 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", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +vim.g.mapleader = " " +vim.g.maplocalleader = " " + +require("core.options") +require("core.keymaps") +require("core.statusline").setup() +require("core.autocmds") +require("lazy").setup("plugins") |