traces.vim

by markonm

markonm / traces.vim

Range, pattern and substitute preview for Vim

512 Stars 9 Forks Last release: almost 2 years ago (v1.1.0) MIT License 235 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

traces.vim

Overview

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

Requirements

Vim 8.1

or

Neovim 0.2.3

  • this plugin is not compatible with inccommand, please turn it off if you want to use this plugin

Feature comparison

Note: some of the features provided by this plugin are already present in Vim/Neovim.

| | traces.vim | Vim* | Neovim | |----------------------------------------------------| :---------: | :---: | :---: | |

:substitute
preview | ✓ | | ✓ | | pattern preview for
:substitute
| ✓ | ✓ | ✓ | | pattern preview for
:global
,
:vglobal
,
:sort
| ✓ | ✓ | | | pattern preview for
:vimgrep
| | ✓ | | | range preview | ✓ | | | | preview window for
:substitute
| ✓ | | ✓ | | preview window for
:global
,
:vglobal
,
:sort
| ✓ | | |

* added by patch v8.1.0271

Example

example

Installation

Linux

git clone https://github.com/markonm/traces.vim ~/.vim/pack/plugins/start/traces.vim

Run the

:helptags
command to generate the doc/tags file.

:helptags ~/.vim/pack/plugins/start/traces.vim/doc

Windows

git clone https://github.com/markonm/traces.vim %HOMEPATH%/vimfiles/pack/plugins/start/traces.vim

Run the

:helptags
command to generate the doc/tags file.

:helptags ~/vimfiles/pack/plugins/start/traces.vim/doc

Inspiration

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.