From b5dfee6620a776e2c25a7bea05251a2be51f02ac Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 6 Feb 2023 12:23:45 -0800 Subject: [PATCH] Make substitute g flag default --- init.fnl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.fnl b/init.fnl index 0074dbe..9c8c48f 100644 --- a/init.fnl +++ b/init.fnl @@ -48,7 +48,7 @@ (set vim.opt.undofile true) ; Text width (set vim.opt.textwidth 80) -; Spell options +; Spell optionis (set vim.opt.spelllang "en_us,cjk") (set vim.opt.spelloptions :camel) ; Allow more freedom with the cursor @@ -58,6 +58,8 @@ (set vim.opt.modelines 0) ; Auto chdir into files' dirs ;(set vim.opt.autochdir true) +; Enable substitute 'g' flag by default +(set vim.opt.gdefault true) ;; Remove trailing whitespace (fn remove-trailing-whitespace []