Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markonm/traces.vim
Range, pattern and substitute preview for Vim
https://github.com/markonm/traces.vim
vim vim-plugin
Last synced: about 2 months ago
JSON representation
Range, pattern and substitute preview for Vim
- Host: GitHub
- URL: https://github.com/markonm/traces.vim
- Owner: markonm
- License: mit
- Created: 2017-09-18T18:54:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-11T11:13:18.000Z (over 2 years ago)
- Last Synced: 2024-05-12T02:34:00.904Z (4 months ago)
- Topics: vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 448 KB
- Stars: 717
- Watchers: 11
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - traces.vim
README
# 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](https://github.com/vim/vim/commit/b0acacd767a2b0618a7f3c08087708f4329580d0)
[2] available in Neovim [0.5.0](https://github.com/neovim/neovim/pull/12721)## Example
![example](img/traces_example.gif?raw=true)## 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
- [vim-over](https://github.com/osyo-manga/vim-over)
- [incsearch.vim](https://github.com/haya14busa/incsearch.vim)
- [inccommand](https://neovim.io/doc/user/options.html#'inccommand')
- [nvim-incnormal](https://github.com/bfredl/nvim-incnormal)