Skip to content

Commit

Permalink
Document yank command (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk authored Feb 26, 2024
1 parent 5232506 commit 9d46ffa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Inserts a string at the end of the view.
- **force** (Bool):
- **scroll_to_end** (Bool):

### `add_to_kill_ring`

Add selected text to an internal buffer "kill ring" (paste it with [yank](#yank)).

### `auto_complete`

Opens the auto complete list.
Expand Down Expand Up @@ -169,7 +173,8 @@ Decreases the font size.

### `delete_to_mark`

Deletes the text that `select_to_mark` would select.
Deletes the text that `select_to_mark` would select to an internal buffer
"kill ring" (paste it with [yank](#yank)).

### `detect_indentation`

Expand Down Expand Up @@ -917,7 +922,8 @@ Wraps lines. By default, it wraps lines at the first ruler's column.

### `yank`

XXX
Paste text from the "kill ring" (added with [add_to_kill_ring](#add_to_kill_ring) or
[delete_to_mark](#delete_to_mark)).

<!-- Some regex-related and search-related commands missing. They don't seem to
be too useful. -->
Expand Down

0 comments on commit 9d46ffa

Please sign in to comment.