2022-01-07 15:28:05 +01:00
|
|
|
-- This is an example init file , its supposed to be placed in /lua/custom/
|
2021-11-19 03:14:06 +01:00
|
|
|
|
|
|
|
-- This is where your custom modules and plugins go.
|
|
|
|
-- Please check NvChad docs if you're totally new to nvchad + dont know lua!!
|
|
|
|
|
|
|
|
-- MAPPINGS
|
2022-01-07 15:28:05 +01:00
|
|
|
local map = require("core.utils").map
|
2021-11-19 03:14:06 +01:00
|
|
|
|
2022-01-07 15:28:05 +01:00
|
|
|
map("n", "<leader>cc", ":Telescope <CR>")
|
|
|
|
map("n", "<leader>q", ":q <CR>")
|
|
|
|
-- NOTE: the 4th argument in the map function can be a table i.e options but its most likely un-needed so dont worry about it
|
2021-11-19 03:14:06 +01:00
|
|
|
|
|
|
|
-- Install plugins
|
2022-01-07 15:28:05 +01:00
|
|
|
local customPlugins = require "core.customPlugins"
|
2021-11-19 03:14:06 +01:00
|
|
|
|
2022-01-07 15:28:05 +01:00
|
|
|
customPlugins.add(function(use)
|
2021-11-19 03:14:06 +01:00
|
|
|
use {
|
|
|
|
"max397574/better-escape.nvim",
|
|
|
|
event = "InsertEnter",
|
|
|
|
}
|
|
|
|
|
|
|
|
use {
|
|
|
|
"user or orgname/reponame",
|
|
|
|
--further packer options
|
|
|
|
}
|
|
|
|
end)
|
|
|
|
|
2022-01-07 15:28:05 +01:00
|
|
|
-- NOTE: we heavily suggest using Packer's lazy loading (with the 'event','cmd' fields)
|
2021-11-19 03:14:06 +01:00
|
|
|
-- see: https://github.com/wbthomason/packer.nvim
|
|
|
|
-- https://nvchad.github.io/config/walkthrough
|