Make substitute g flag default

This commit is contained in:
Alexander Rosenberg 2023-02-06 12:23:45 -08:00
parent 5b6ae36a0f
commit b5dfee6620
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -48,7 +48,7 @@
(set vim.opt.undofile true) (set vim.opt.undofile true)
; Text width ; Text width
(set vim.opt.textwidth 80) (set vim.opt.textwidth 80)
; Spell options ; Spell optionis
(set vim.opt.spelllang "en_us,cjk") (set vim.opt.spelllang "en_us,cjk")
(set vim.opt.spelloptions :camel) (set vim.opt.spelloptions :camel)
; Allow more freedom with the cursor ; Allow more freedom with the cursor
@ -58,6 +58,8 @@
(set vim.opt.modelines 0) (set vim.opt.modelines 0)
; Auto chdir into files' dirs ; Auto chdir into files' dirs
;(set vim.opt.autochdir true) ;(set vim.opt.autochdir true)
; Enable substitute 'g' flag by default
(set vim.opt.gdefault true)
;; Remove trailing whitespace ;; Remove trailing whitespace
(fn remove-trailing-whitespace [] (fn remove-trailing-whitespace []