diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2024-04-11 23:20:57 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | a99b211b3bec43ebe3cdfa1899cba227d1d569a4 (patch) | |
| tree | a648712a5fa523f04670c32dd8eff6c2138b6669 /dot_config/nvim/init.lua | |
Initial commit
Diffstat (limited to 'dot_config/nvim/init.lua')
| -rw-r--r-- | dot_config/nvim/init.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dot_config/nvim/init.lua b/dot_config/nvim/init.lua new file mode 100644 index 0000000..864560f --- /dev/null +++ b/dot_config/nvim/init.lua @@ -0,0 +1,26 @@ +-- Setting the leader key just in case +vim.g.mapleader = " " +vim.g.maplocalleader = " " + +-- Sourcing regular nvim settings/keybindings +require("ibrahim.set") +require("ibrahim.keys") + +-- Bootstrap Lazy plugin manager +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) + +require("lazy").setup("plugins") + +-- Keymap to open Lazy +vim.keymap.set("n", "<leader>o", vim.cmd.Lazy) |
