From ba6e0a870faa3306b1e15bd03460b2faa30ceb37 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Fri, 29 Sep 2023 20:40:43 +0100 Subject: Disable netrw --- .config/nvim/lua/base.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config/nvim') diff --git a/.config/nvim/lua/base.lua b/.config/nvim/lua/base.lua index 9cb6f23..942f87f 100644 --- a/.config/nvim/lua/base.lua +++ b/.config/nvim/lua/base.lua @@ -20,6 +20,9 @@ vim.opt.wildmode = 'longest,list,full' vim.opt.syntax = "ON" -- Allow syntax highlighting vim.opt.completeopt = { "menuone", "noinsert" } +-- disable netrw at the very start of your init.lua +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 local autocmd = vim.api.nvim_create_autocmd -- Create autocommand -- cgit v1.2.3