14 lines
608 B
Lua
14 lines
608 B
Lua
|
-- 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", "<leader>cc", ":Telescope <CR>")
|
||
|
--map("n", "<leader>q", ":q <CR>")
|
||
|
|
||
|
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
|