refactor(opts): disabled netrw
This commit is contained in:
parent
accd0237d3
commit
e02d24606d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue