The Meowgorithm Dotfiles, Collectors’ Edition
local g = vim.g
local opt = vim.opt
local autocmd = vim.api.nvim_create_autocmd
local augroup = vim.api.nvim_create_augroup
local hi = vim.api.nvim_set_hl
local map = vim.keymap.set
local nmap = function(lhs, rhs, opts)
vim.keymap.set("n", lhs, rhs, opts)
end
local vmap = function(lhs, rhs, opts)
vim.keymap.set("v", lhs, rhs, opts)
end
g.mapleader = " "
-- 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)
-- Setup lazy.nvim with all plugins
require("lazy").setup({
-- Colorscheme
{
"vim/colorscheme",
name = "pantera-negra",
config = function()
vim.cmd("colorscheme pantera-negra")
end,
},