Skip to content

Commit

Permalink
chore: auto generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbprod committed Feb 2, 2022
1 parent 1af4d89 commit f17d36e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions doc/substitute-nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,30 @@ Will ask for confirmation for each substitutions.
Will require that there be word boundaries on each match (eg: `\<word\>`
instead of `word`).

*substitute-nvim-`range.motion1`*

`range.motion1` Default : `false`


This will use this motion for the first motion of range substitution.

eg. `lua require('substitute.range').operator({ motion1 = 'iW' })` will select
inner WORD as subject of substitution.

*substitute-nvim-`range.motion2`*

`range.motion2` Default : `false`


This will use this motion for the second motion of range substitution.

eg. `lua require('substitute.range').operator({ motion2 = 'ap' })` will select
around paragraph as range of substitution.

You can combine `motion1` and `motion2` : `lua
require('substitute.range').operator({ motion1='iw', motion2 = 'ap' })` will
prepare substitution for inner word around paragraph.

INTEGRATION ~

tpope/vim-abolish ~
Expand Down

0 comments on commit f17d36e

Please sign in to comment.