Files
dotFiles/.config/nvim/init.lua

57 lines
2.1 KiB
Lua
Raw Normal View History

2024-04-09 04:36:45 +05:30
--[[
=====================================================================
==================== READ THIS BEFORE CONTINUING ====================
=====================================================================
======== .-----. ========
======== .----------------------. | === | ========
======== |.-""""""""""""""""""-.| |-----| ========
======== || || | === | ========
======== || KICKSTART.NVIM || |-----| ========
======== || || | === | ========
======== || || |-----| ========
======== ||:Tutor || |:::::| ========
======== |'-..................-'| |____o| ========
======== `"")----------------(""` ___________ ========
======== /::::::::::| |::::::::::\ \ no mouse \ ========
======== /:::========| |==hjkl==:::\ \ required \ ========
======== '""""""""""""' '""""""""""""' '""""""""""' ========
======== ========
=====================================================================
=====================================================================
I hope you enjoy your Neovim journey,
- TJ
--]]
2024-05-14 13:07:30 +05:30
vim.g.mapleader = " "
vim.g.maplocalleader = " "
2024-05-21 15:52:06 +05:30
2024-04-09 04:36:45 +05:30
-- netrw settings
vim.g.netrw_banner = 0
vim.g.netrw_browse_split = 0
vim.g.netrw_winsize = 25
vim.g.have_nerd_font = true
2024-05-21 15:52:06 +05:30
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
2024-05-14 13:07:30 +05:30
if not (vim.uv or vim.loop).fs_stat(lazypath) then
2024-05-21 15:52:06 +05:30
vim.fn.system {
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
}
2024-05-14 13:07:30 +05:30
end
2024-04-09 04:36:45 +05:30
vim.opt.rtp:prepend(lazypath)
2024-05-14 13:07:30 +05:30
require("lazy").setup({ import = "lilJ/plugins" }, {
2024-05-21 15:52:06 +05:30
change_detection = {
notify = false,
},
2024-04-09 04:36:45 +05:30
})
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et