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 local map = vim.keymap.set
-- look and feel -- look and feel
global.netrw_banner = 0
global.netrw_bufsettings = "noma nomod relativenumber nowrap ro nobl" global.netrw_bufsettings = "noma nomod relativenumber nowrap ro nobl"
global.netrw_liststyle = 3
global.netrw_winsize = 25
o.number = true o.number = true
o.relativenumber = true o.relativenumber = true
o.ruler = true o.ruler = true
o.scrolloff = 10 o.scrolloff = 10
o.showmode = false o.showmode = false
o.spell = true o.termguicolors = true
if vim.fn.has("termguicolors") == 1 then o.title = true
o.termguicolors = true
end
-- controlling -- controlling
global.mapleader = ' ' global.mapleader = ' '