Skip to content

nathom/easy-replace.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

easy-replace.nvim

Quickly find and replace without having to worry about %s and escaping characters.

Installation

use("nathom/easy-replace.nvim")

Two visual mode mappings are automatically installed: <leader>r and <leader>R. The first replaces the text selected with the inputted text throughout the file. The second requests for confirmation before replacing.

Custom usage

You can call the replacement function with

require('easy_replace').replace_selection()

To ask for confirmation, pass true into replace_selection.

About

Quickly replace text without %s

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published