Skip to content

Commit

Permalink
neovim: disable netrw
Browse files Browse the repository at this point in the history
This ensures that I get dirvish as a file browser when I open vim on a
directory path. See:
justinmk/vim-dirvish#213 (comment)
  • Loading branch information
jwoudenberg committed Dec 23, 2023
1 parent d51be6d commit 8c2c248
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shared/home-manager-modules/neovim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ vim.api.nvim_create_autocmd("FileType", {
vim.cmd([[silent! unmap <buffer> <C-P>]])
end
})
-- disable netrw
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1

-- FILE SEARCH

Expand Down

0 comments on commit 8c2c248

Please sign in to comment.