modified: init.lua

This commit is contained in:
psychhim
2024-01-07 04:48:19 +05:30
parent ada984bac8
commit 45fa58fe4b

View File

@@ -1,5 +1,14 @@
vim.g.mapleader = ' ' vim.g.mapleader = ' '
vim.g.maplocalleader = ' ' vim.g.maplocalleader = ' '
--[[Open Neotree on new tab]]
vim.api.nvim_create_autocmd("TabNewEntered", {
group = vim.api.nvim_create_augroup("NeotreeOnNewTab", { clear = true }),
callback = vim.schedule_wrap(function()
vim.cmd("Neotree show")
end),
})
-- [[ Install `lazy.nvim` plugin manager ]] -- [[ Install `lazy.nvim` plugin manager ]]
-- https://github.com/folke/lazy.nvim -- https://github.com/folke/lazy.nvim
-- `:help lazy.nvim.txt` for more info -- `:help lazy.nvim.txt` for more info
@@ -144,7 +153,7 @@ require('lazy').setup({
}, },
{ {
-- Theme -- Theme
vim.cmd [[colorscheme lunaperche]] vim.cmd [[colorscheme murphy]]
}, },