substitute
URL: https://github.com/gbprod/substitute.nvim/
Maintainers: Fredrik Wastring
Operator to substitute and exchange text objects quickly.
plugins.substitute.enable
Whether to enable substitute.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.substitute.package
The substitute package to use.
Type: package
Default:
pkgs.vimPlugins.substitute-nvim
Declared by:
plugins.substitute.autoLoad
Whether to automatically load substitute when neovim starts.
Type: boolean
Default:
false when lazy-loading is enabled.
Example:
false
Declared by:
plugins.substitute.settings
Options provided to the require('substitute').setup function.
Type: lua value
Default:
{ }
Example:
{
highlight_substituted_text = {
timer = 750;
};
modifiers = [
"join"
"trim"
];
on_substitute = lib.nixvim.mkRaw ''
function(params)
vim.notify("substituted using register " .. params.register)
end
'';
range = {
auto_apply = true;
complete_word = true;
cursor_position = "start";
prefix = "S";
};
yank_substituted_text = true;
}
Declared by: