refactor(opts): disabled netrw

This commit is contained in:
Sven Vogel 2024-11-01 13:14:45 +01:00
parent accd0237d3
commit e02d24606d
1 changed files with 22 additions and 0 deletions

View File

@ -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