Make substitute g flag default
This commit is contained in:
parent
5b6ae36a0f
commit
b5dfee6620
4
init.fnl
4
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 []
|
||||
|
Reference in New Issue
Block a user