atom-kak-mode

Kakoune emulator for Atom.
v1.9.0

installation

$ apm install kak-mode

movement commands

keydescriptionwith shift

j

move downextend selection down

k

move upextend selection up

h

move leftextend selection to left

l

move rightextend selection to right

w

select to next word startextend selection to next word start

e

select to next word endextend selection to next word end

b

select to previous word startextend selection to previous word start

changes commands

keydescriptionwith shiftwith alt

u

undo last changeredo last change

p

paste yanked text after selection

c

change selected text (erase and enter insert mode)

o

insert on new line belowinsert on new line above

y

copy selected text

`

to lower caseswap case

~

to upper case

>

indent selections

<

outdent selections

d

erase selected text

backspace

erase selected text (or the character before cursor) or modify count

selections commands

keydescriptionwith shiftwith altconfig

space

remove all selections except main

f

select to the next occurrence of given characterselect to the previous occurrence of given character

t

select until the next occurrence of given characterselect until the previous occurrence of given character

%

select whole buffer

m

select to next matching characterextend selection to next matching charactermatchingChars

a

-insert at line end

x

select lineextend selection to next line

;

reduce selections to their cursor

search commands

Searching is triggered with / key - the search pattern input will be displayed in the status bar. Either a regular expression or a string can be entered. If the regular expression is invalid, is will be treated as a query string.

keydescriptionwith shiftwith alt

/

select next match after each selectionextend selection to matchselect previous match before each selection

n

select next match using the last used search patternextend selection to matchselect previous match using the last used search pattern

goto commands

Go to mode is activated with g key - a menu will appear listing the possible moves.

keydescription

g

enter goto mode or go to the first line

k

go to the first line

e

go to last char of last line

j

go to the last line

f

go to file

a

go to buffer

t

go to the first visible line

b

go to the last visible line

c

go to the middle visible line

h

go to line begin

l

go to line end

i

go to non blank line start

other commands

keydescription

i

change mode to insert

1-9

set count