update README and VIMTOKAK
This commit is contained in:
parent
3f403474ac
commit
437255bcbc
|
@ -112,7 +112,8 @@ selection according to the regex entered. To split a comma separated list,
|
||||||
use _alt-s_ then ', *'
|
use _alt-s_ then ', *'
|
||||||
|
|
||||||
To clear multiple selections, use _space_. To keep only the nth selection
|
To clear multiple selections, use _space_. To keep only the nth selection
|
||||||
use _n_ followed by _space_.
|
use _n_ followed by _space_, to remove only the nth selection, use _n_
|
||||||
|
followed by _alt-space_.
|
||||||
|
|
||||||
Object Selection
|
Object Selection
|
||||||
----------------
|
----------------
|
||||||
|
@ -342,7 +343,6 @@ FIFO Buffer
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
the +edit+ command can take a -fifo parameter:
|
the +edit+ command can take a -fifo parameter:
|
||||||
|
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
:edit -fifo <filename> <buffername>
|
:edit -fifo <filename> <buffername>
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
14
VIMTOKAK
14
VIMTOKAK
|
@ -1,6 +1,12 @@
|
||||||
Vi(m) to Kakoune:
|
Vi(m) to Kakoune:
|
||||||
=================
|
=================
|
||||||
|
|
||||||
|
Most operations in Kakoune are reversed compared to Vim: In kak, you first
|
||||||
|
select the text you want to act on, then you edit it. This way, things are
|
||||||
|
much more consistent, as for example, kak does not need a key for delete
|
||||||
|
character, the delete key handles this just fine as long as you did not
|
||||||
|
select more than a character (but clearing selection is only one space away).
|
||||||
|
|
||||||
delete a word:
|
delete a word:
|
||||||
* vim: dw
|
* vim: dw
|
||||||
* kak: wd
|
* kak: wd
|
||||||
|
@ -13,14 +19,6 @@ copy a line:
|
||||||
* vim: yy
|
* vim: yy
|
||||||
* kak: xy
|
* kak: xy
|
||||||
|
|
||||||
paste a line (linewise):
|
|
||||||
* vim: p or P
|
|
||||||
* kak: xp or xP
|
|
||||||
|
|
||||||
paste a line (not linewise):
|
|
||||||
* vim: no supported
|
|
||||||
* kak: p or P
|
|
||||||
|
|
||||||
global replace:
|
global replace:
|
||||||
* vim: :%s/word/replacement
|
* vim: :%s/word/replacement
|
||||||
* kak: %sword<ret>creplacement
|
* kak: %sword<ret>creplacement
|
||||||
|
|
Loading…
Reference in New Issue
Block a user