diff --git a/config/core/options.nix b/config/core/options.nix index 749beac..d80805a 100644 --- a/config/core/options.nix +++ b/config/core/options.nix @@ -13,7 +13,6 @@ gdefault = true; ignorecase = true; incsearch = true; - inccommand = "split"; #Adds splitting ability for complex find and replace with exclusions autoindent = true; expandtab = true; diff --git a/plugins/core/default.nix b/plugins/core/default.nix index 2ed607f..6e1fa2f 100644 --- a/plugins/core/default.nix +++ b/plugins/core/default.nix @@ -1,5 +1,6 @@ { imports = [ ./blink-cmp.nix + ./live-command-nvim.nix ]; } diff --git a/plugins/core/live-command-nvim.nix b/plugins/core/live-command-nvim.nix new file mode 100644 index 0000000..995ee2a --- /dev/null +++ b/plugins/core/live-command-nvim.nix @@ -0,0 +1,19 @@ +# live-command.nvim - Preview commands in Neovim +# Provides live preview for arbitrary Ex commands including :g!, :s, and more +# https://github.com/smjonas/live-command.nvim + +{ pkgs, ... }: +{ + config.vim.extraPlugins = { + live-command-nvim = { + package = pkgs.vimPlugins.live-command-nvim; + setup = '' + require("live-command").setup { + commands = { + Norm = { cmd = "norm" }, + }, + } + ''; + }; + }; +}