nvim
This commit is contained in:
parent
83d6e3f7cf
commit
bda21856b1
10 changed files with 155 additions and 0 deletions
26
.config/nvim/init.lua
Normal file
26
.config/nvim/init.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
-- Setup leader key
|
||||
vim.g.mapleader = " "
|
||||
|
||||
-- Lazy: Ensure lazy is installed and present
|
||||
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)
|
||||
|
||||
-- Load plugin configuration and init Lazy
|
||||
require("lazy").setup("plugins", {
|
||||
install = {
|
||||
missing = true, -- Install missing plugins on startup
|
||||
}
|
||||
})
|
||||
|
||||
-- Keybinds
|
||||
require("keybinds")
|
Loading…
Add table
Add a link
Reference in a new issue