Skip to content

Commit

Permalink
docs: Adds |text-objects| reference. (#294)
Browse files Browse the repository at this point in the history
Signed-off-by: JL102 <[email protected]>
  • Loading branch information
JL102 authored Jan 15, 2024
1 parent 633a0ab commit f0b0d43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/nvim-surround.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ and "modifying" (deleting/changing) delimiter pairs.

The primary way of adding a new pair to the buffer is via the normal-mode *ys*
operator, which stands for "you surround". It can be used via
`ys{motion}{char}`, which surrounds a given {motion} with a delimiter pair
associated with {char}. For example, `ysa")` means "you surround around quotes
with parentheses".
`ys{motion}{char}`, which surrounds a given |motion| or |text-object| with a
delimiter pair associated with {char}. For example, `ysa")` means "you surround
around quotes with parentheses".

In all of the following examples, the `*` denotes the cursor position:

Expand Down

0 comments on commit f0b0d43

Please sign in to comment.