feat nvim: 自動折行關閉,額外新增動態折行開關快速鍵

This commit is contained in:
2025-05-06 12:20:50 +08:00
parent 3e138a5f5e
commit a8797860e1
2 changed files with 5 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ vim.opt.tabstop = 4 -- tab鍵寬度
vim.opt.shiftwidth = 4 -- 自動縮排寬度
vim.opt.expandtab = true -- 使用空格代替tab
vim.opt.termguicolors = true -- 支持真彩色
vim.opt.wrap = false -- 不自動換折行
vim.opt.colorcolumn = "80,120" -- 顯示編輯器建議寬度
vim.opt.scrolloff = 3 -- 捲動時保留 n 行彈性
require("config.listchars") -- 顯示行尾符號