Update netrw

Signed-off-by: Ryan <ryan@alien.gov>
This commit is contained in:
Ryan 2023-12-05 21:47:57 +08:00
parent 48473f5a68
commit fb0a07f68f
No known key found for this signature in database
GPG Key ID: DB5B3AC49EEFD2A5

View File

@ -4,16 +4,17 @@ local global = vim.g
local map = vim.keymap.set
-- look and feel
global.netrw_banner = 0
global.netrw_bufsettings = "noma nomod relativenumber nowrap ro nobl"
global.netrw_liststyle = 3
global.netrw_winsize = 25
o.number = true
o.relativenumber = true
o.ruler = true
o.scrolloff = 10
o.showmode = false
o.spell = true
if vim.fn.has("termguicolors") == 1 then
o.termguicolors = true
end
o.termguicolors = true
o.title = true
-- controlling
global.mapleader = ' '