From bfc8a0c98ba1d04b2f0457c858c21df5773ee936 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 23 Nov 2011 00:31:40 +0000 Subject: [PATCH] Add a VIMTOKAK file to help vim users --- VIMTOKAK | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 VIMTOKAK diff --git a/VIMTOKAK b/VIMTOKAK new file mode 100644 index 00000000..4896d733 --- /dev/null +++ b/VIMTOKAK @@ -0,0 +1,34 @@ +Vi(m) to Kakoune: +================= + +delete a word: + * vim: dw + * kak: wd + +delete a character: + * vim: x + * kak: d or d + +copy a line: + * vim: yy + * 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: + * vim: :%s/word/replacement + * kak: %swordcreplacement + +join line with next: + * vim: J + * kak: alt-J + +delete to line end: + * vim: d$ + * kak: alt-ld or gldt \ No newline at end of file