Skip to content

multicursors

monsterkodi edited this page May 21, 2017 · 7 revisions

ko differs a bit from common implementations of multicursors:

  • not all cursors are equal:

    • main cursor is always distuingishable
    • main cursor can be moved independently from other cursors
  • in most cases cursors are kept in their respective lines

    • no weird cursor chaos when some cursors cross line boundaries and some don't
  • cursors can be positioned after the end of lines

    • cursors after the end of line have two representations: blue and orange/yellow
    • the orange/yellow position shows where text will be inserted
    • missing spaces are added automatically in multicursor mode

cursors

shortcuts:

  • ⌘click add or remove single cursor
  • ⌘up|down grow all vertical cursor lines up or down
  • ^⇧up|down grow only main cursor line up or down
  • ^up|down|left|right move main cursor independently (clears other cursors when moving over them)
  • ^⌥up|down|left|right align all cursors vertically with up|down|left|right-most cursor
  • ^⇧right align all cursors vertically with right-most cursor while moving text to the right
  • ⌘delete delete backwards over line boundaries