summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBruno Heridet <delapouite@gmail.com>2019-09-18 15:27:57 +0200
committerGitHub <noreply@github.com>2019-09-18 15:27:57 +0200
commit839c96cb21802b5c6185645541c7ec08244899c3 (patch)
tree6f8238dfaebdcdeee3d8e298e4ec499463420bf3 /contrib
parent271b1d4f2ff85668be6e1228b3a3fc957a740adf (diff)
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.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/TRAMPOLINE22
1 files changed, 15 insertions, 7 deletions
diff --git a/contrib/TRAMPOLINE b/contrib/TRAMPOLINE
index d8bbe789..4453b13c 100644
--- a/contrib/TRAMPOLINE
+++ b/contrib/TRAMPOLINE
@@ -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