Skip to content

Differences from Kakoune

Ilya Grigoriev edited this page Aug 8, 2022 · 21 revisions

Make sure you are comparing the latest versions of vis and kakoune before editing this page.

https://github.com/mawww/kakoune/wiki/Normal-mode-commands

How to in kakoune in vis
select regex inside current selection s :x/regex/
split the current selection according to the regex entered S :y/regex/
split the current selections on line boundaries :x which is an alias for :x/.*\n/
merge contiguous selections together
keep only the nth selection n :g n
remove the nth selection n :v n
keep only the selections that contains a match for this regex :g/regex/
keep the selections not containing a match :v/regex/
save the current selections to the register Z m
restore the selections from the register z M
select entire buffer % :,
flip selections cursor and anchor o
make previous or next selection primary ( or ) or
align selections &
rotate selections left or right or - or +
replace range by stdout of command | :<
send range to stdin of command :>
union selections and register |
intersect selections and register &
subtract register from selections \
complement selections ~
pairwise combine selections from register with existing ones (union, intersect, leftmost, rightmost, longest, shortest) u, i, <, >, +, -
pairwise combine the current selections to the register (same operations apply) {op}

Clone this wiki locally