Need help with traces.vim?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

markonm
575 Stars 11 Forks MIT License 238 Commits 3 Opened issues

Description

Range, pattern and substitute preview for Vim

Services available

!
?

Need anything else?

Contributors list

# 234,733
Ruby
Vim
Python
pattern
223 commits
# 11,350
Crystal
Sublime...
adblock...
filterl...
1 commit
# 126,837
C
macOS
Vim
MATLAB
1 commit
# 302,051
Haskell
viml
sift
Neovim
1 commit
# 29,486
gtk
viml
zig
Nim
1 commit
# 385,719
Neovim
yarn
Crystal
pattern
1 commit
# 10,481
Go
Vim
vimrc
Neovim
1 commit

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
| ✓ | ✓[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

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.