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