diff --git a/modules/tui/neovim/config.nix b/modules/tui/neovim/config.nix index 5d93b9c..3ab0690 100644 --- a/modules/tui/neovim/config.nix +++ b/modules/tui/neovim/config.nix @@ -42,6 +42,10 @@ in { useSystemClipboard = false; luaConfigPost = concatStrings [ + # no need to add /g at the end of a search and replace + '' + vim.opt.gdefault = true + '' # https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/programs/terminal/editors/neovim/lua/core.lua#L34-L42 '' vim.opt.formatoptions:remove('c')