Range, pattern and substitute preview for Vim
This plugin highlights patterns and ranges for Ex commands in Command-line mode.
It also provides live preview for the following Ex commands:
:substitute :smagic :snomagic
or
Note: some of the features provided by this plugin are already present in Vim/Neovim.
| | traces.vim | Vim | Neovim | |--------------------------------------------------------------| :----------: | :---------------: | :---------------: | |
:substitutepreview | ✓ | | ✓ | | pattern preview for
:substitute| ✓ | ✓[1] | ✓ | | pattern preview for
:global,
:vglobal,
:sort| ✓ | ✓[1] | ✓[2] | | pattern preview for
:vimgrep| | ✓[1] | ✓[2] | | off-screen results window for
:substitute| ✓ | | ✓ | | off-screen results window for
:global,
:vglobal,
:sort| ✓ | | | | range preview | ✓ | | |
[1] added by patch v8.1.0271
[2] available in Neovim 0.5.0
git clone https://github.com/markonm/traces.vim ~/.vim/pack/plugins/start/traces.vim
Run the
:helptagscommand to generate the doc/tags file.
:helptags ~/.vim/pack/plugins/start/traces.vim/doc
git clone https://github.com/markonm/traces.vim %HOMEPATH%/vimfiles/pack/plugins/start/traces.vim
Run the
:helptagscommand to generate the doc/tags file.
:helptags ~/vimfiles/pack/plugins/start/traces.vim/doc