This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- set your leader and local leader key | |
-- make sure to set `mapleader` and `maplocalleader` before lazy so your mappings are correct | |
vim.g.mapleader = " " -- using space as leader key | |
vim.g.maplocalleader = "," -- using comma as local leader | |
-- bootstrap lazy.nvim plugin manager | |
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | |
if not (vim.uv or vim.loop).fs_stat(lazypath) then | |
vim.fn.system({ | |
"git", |