doc: add explicit mention of d
and u
commands.
lenormf did a fantastic job in the original TRAMPOLINE by providing a good density information while keeping the document short. However, after skimming through it recently I found that these 2 basic commands (`d` and `u`) were not explicitly mentioned. As newcomers who ask for a `vimtutor` equivalent are often redirected to the TRAMPOLINE, I thought these short additions will be welcomed.
This commit is contained in:
parent
271b1d4f2f
commit
839c96cb21
|
@ -229,15 +229,15 @@ using the built-in `:doc` command.
|
|||
selection then you can use the `P` key.
|
||||
|
||||
|
||||
=[ REPLACING SELECTIONS
|
||||
=[ DELETING / REPLACING SELECTIONS
|
||||
|
||||
Text replacement is a two step process in Kakoune, which
|
||||
involves selecting text to be replaced, and then erasing it
|
||||
.---, to insert the replacement text. After selections have been
|
||||
| c | made, you can simply hit the deletion primitive (`d`), then
|
||||
`---' either enter insert mode to write down the replacement text
|
||||
(`i`), or stay in command mode to paste the replacement
|
||||
text stored in the copy register. As deleting and entering
|
||||
.---, involves selecting text to be replaced, and then erasing it
|
||||
| d | to insert the replacement text. After selections have been
|
||||
`---' made, you can simply hit the deletion primitive (`d`), then
|
||||
.---, either enter insert mode to write down the replacement text
|
||||
| c | (`i`), or stay in command mode to paste the replacement
|
||||
`---' text stored in the copy register. As deleting and entering
|
||||
.---, insert mode can be redundant, a primitive that implements
|
||||
| R | deletion followed by insert mode entrance was implemented:
|
||||
`---' `c`. You can also directly replace the current selection
|
||||
|
@ -245,6 +245,14 @@ using the built-in `:doc` command.
|
|||
also implemented for that purpose: `R`.
|
||||
|
||||
|
||||
=[ UNDO / REDO
|
||||
|
||||
Mistakes or wrong decisions can happen while editing.
|
||||
.---, To go back to earlier states of the buffer, you can press
|
||||
| u | the `u` key several times. On the contrary, pressing `U`
|
||||
`---' allows traveling forward in the history tree.
|
||||
|
||||
|
||||
+=-------------------------------=+ ADVANCED +=-------------------------------=+
|
||||
|
||||
=[ SPLITTING
|
||||
|
|
Loading…
Reference in New Issue
Block a user