fix(programs/neovim): disable netrw to avoid conflicts with neotree

This commit is contained in:
uku 2025-03-30 11:49:46 +02:00
parent 4e2cbe8b59
commit 15ffd6ba7b
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o

View file

@ -41,6 +41,10 @@ vim.opt.shiftwidth = 2
vim.opt.tabstop = 2
vim.opt.expandtab = true
-- disable netrw to avoid conflicts with neotree
vim.g.loaded_netrw = 0
vim.g.loaded_netrwPlugin = 0
-- sync os clipboard and neovim
vim.schedule(function()
vim.opt.clipboard = "unnamedplus"