-- Please check NvChad docs if you're totally new to nvchad + dont know lua!! -- This is an example init file in /lua/custom/ -- this init.lua can load stuffs etc too so treat it like your ~/.config/nvim/ -- MAPPINGS local map = require("core.utils").map --map("n", "cc", ":Telescope ") --map("n", "q", ":q ") vim.cmd [[ au BufReadPost * if expand('%:p') !~# '\m/\.git/' && line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif ]] -- NOTE: the 4th argument in the map function is be a table i.e options but its most likely un-needed so dont worry about it