mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-28 01:00:28 +03:00
Merge remote-tracking branch 'Delapouite/patch-1'
This commit is contained in:
commit
9bd1e0fb43
@ -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