mirror of
https://github.com/vale981/boon
synced 2025-03-05 17:41:42 -05:00
<SPC> region
This commit is contained in:
parent
8391a153f1
commit
0523219432
1 changed files with 14 additions and 2 deletions
16
TUTORIAL.txt
16
TUTORIAL.txt
|
@ -190,11 +190,16 @@ In the above "e" is the argument to the "t" command.
|
|||
|
||||
>> Type "tn" to delete backwards, up to the beginning of a word
|
||||
|
||||
You can also use a left-hand region specifier to delete
|
||||
You can also use a left-hand region specifier to delete:
|
||||
|
||||
>> Type "ts" to delete the symbol where the cursor is (even if in the
|
||||
middle of the symbol)
|
||||
|
||||
One of the most useful region specifier is <spc>, which refers to the
|
||||
current line.
|
||||
|
||||
>> Type "t<spc>" to delete the current line.
|
||||
|
||||
|
||||
The region specifiers are defined in the boon-select-map keymap. (Type
|
||||
C-h v boon-select-map to inspect it)
|
||||
|
@ -228,10 +233,17 @@ the text between the two positions.
|
|||
|
||||
Selecting text with <SPC> actually takes an argument.
|
||||
|
||||
>> Type <SPC> p to select a paragraph
|
||||
>> Type "<SPC>p" to select a paragraph
|
||||
|
||||
>> Type <SPC> again to undo the selection
|
||||
|
||||
The region specifier "current line" (<SPC>) can be given to the
|
||||
marking command (<SPC>).
|
||||
|
||||
>> Type <SPC><SPC> to select the current line
|
||||
>> Type "y" a few times to select some lines
|
||||
>> Type "t" to delete all these lines
|
||||
|
||||
The command for yanking is "s". (mnemonic: splice)
|
||||
|
||||
>> Try it; type s to yank the text back.
|
||||
|
|
Loading…
Add table
Reference in a new issue