Skip to content

Latest commit

 

History

History
84 lines (59 loc) · 999 Bytes

switch-mode.md

File metadata and controls

84 lines (59 loc) · 999 Bytes

1

behavior <- character

abc def
  ^ 0

1 insert-before

up

  • .modes.insert.before
abc def
  | 0

1 insert-before restore

up

  • .modes.set.normal
abc def
  ^ 0

1 insert-after

up

  • .modes.insert.after
abc def
   | 0

It would be nice to test the restore version too, but right now this does not work in tests because tests don't work too well with saved selections.

2

behavior <- character

abc
def
 ^ 0
ghi

2 insert-next-line-below

up

  • .edit.newLine.below.insert
abc
def

| 0
ghi

It would be nice to test the restore version too, but right now this does not work in tests because tests don't work too well with saved selections.

2 insert-next-line-above

up

  • .edit.newLine.above.insert
abc

| 0
def
ghi

It would be nice to test the restore version too, but right now this does not work in tests because tests don't work too well with saved selections.