dotfiles/.vim/pack/plugins/start/vim-traces
2024-12-15 14:45:59 +01:00
..
autoload Update 2024-12-15 14:45 OpenBSD/amd64-t14 2024-12-15 14:45:59 +01:00
doc Update 2024-12-15 14:45 OpenBSD/amd64-t14 2024-12-15 14:45:59 +01:00
img Update 2024-12-15 14:45 OpenBSD/amd64-t14 2024-12-15 14:45:59 +01:00
plugin Update 2024-12-15 14:45 OpenBSD/amd64-t14 2024-12-15 14:45:59 +01:00
test Update 2024-12-15 14:45 OpenBSD/amd64-t14 2024-12-15 14:45:59 +01:00
LICENSE Update 2024-12-15 14:45 OpenBSD/amd64-t14 2024-12-15 14:45:59 +01:00
README.md Update 2024-12-15 14:45 OpenBSD/amd64-t14 2024-12-15 14:45:59 +01:00

traces.vim

Overview

This plugin highlights patterns and ranges for Ex commands in Command-line mode. It also provides live preview for :substitute.

Requirements

Vim 8.1

or

Neovim 0.2.3

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

Use plugin/runtimepath manager of choice or install manually with the following command:

Linux

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

Windows

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

Inspiration