From e02d24606de8e1d17682ff6645d2f9dab28160a7 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 1 Nov 2024 13:14:45 +0100 Subject: [PATCH] refactor(opts): disabled netrw --- lua/config/opts.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lua/config/opts.lua b/lua/config/opts.lua index fc7b3f0..03399eb 100644 --- a/lua/config/opts.lua +++ b/lua/config/opts.lua @@ -1,3 +1,19 @@ + +-- +-- Neovim and VIM global configuration +-- and options +-- .............................................. +-- +-- Author: Sven Vogel +-- Created: 01.11.2024 +-- Edited: 01.11.2024 +-- +-- ============================================== + +-- +-- neovim global options +-- .............................................. + local opt = vim.opt opt.clipboard = vim.env.SSH_TTY and "" or "unnamedplus" -- Sync with system clipboard @@ -14,3 +30,9 @@ opt.termguicolors = true -- True color support opt.virtualedit = "block" -- Allow cursor to move where there is no text in visual block mode opt.wrap = false opt.smoothscroll = true + +-- +-- VIM global options +-- .............................................. + +vim.g.loaded_netrwPlugin = 0 -- disable netrw, VIM's builtin file explorer