1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-28 01:00:28 +03:00
kakoune/VIMTOKAK

33 lines
725 B
Plaintext
Raw Normal View History

2011-11-23 04:31:40 +04:00
Vi(m) to Kakoune:
=================
2012-11-12 22:41:50 +04:00
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).
2011-11-23 04:31:40 +04:00
delete a word:
* vim: dw
* kak: wd
delete a character:
* vim: x
* kak: d or <space>d
copy a line:
* vim: yy
* kak: xy
global replace:
2012-12-28 17:07:53 +04:00
* vim: :%s/word/replacement<ret>
* kak: %sword<ret>creplacement<esc>
2011-11-23 04:31:40 +04:00
join line with next:
* vim: J
* kak: alt-J
delete to line end:
* vim: d$
2012-06-02 19:48:12 +04:00
* kak: alt-ld or gld