fix(programs/neovim): disable netrw to avoid conflicts with neotree
This commit is contained in:
parent
4e2cbe8b59
commit
15ffd6ba7b
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ vim.opt.shiftwidth = 2
|
||||||
vim.opt.tabstop = 2
|
vim.opt.tabstop = 2
|
||||||
vim.opt.expandtab = true
|
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
|
-- sync os clipboard and neovim
|
||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
vim.opt.clipboard = "unnamedplus"
|
vim.opt.clipboard = "unnamedplus"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue