kickstart.nvim/after/plugin/neo-tree.lua

11 lines
363 B
Lua
Raw Normal View History

2024-10-20 03:38:56 -03:00
-- Autocmd to open Neo-tree automatically on startup
-- vim.api.nvim_create_autocmd("VimEnter", {
-- callback = function()
-- if vim.fn.isdirectory(vim.fn.getcwd()) == 1 then
-- require('neo-tree.command').execute({ toggle = false, dir = vim.loop.cwd() })
-- vim.cmd('wincmd p') -- Switch back to the previous buffer
-- end
-- end
-- })
2025-01-19 16:54:51 -03:00