hermes/notes.md

891 B

simple

g - top of document G - bottom of document ^ - beginning of text in row 0 - beginning of row $ - end of row hjkl - movement o - open row below in insert O - open row above in insert w - next word e - end of word a - enter insert mode after current position i - enter insert mode u - page up d - page down - enter command mode ^s - save ^S - save as ^o - open file

<PAGE_UP> <PAGE_DOWN>

complex

  • d ( delete __ )
    • w, j, k, h, l, e, $, ^, d, g, G, 0
  • ( )
    • w, e, h, j, k, l

how it will work

Digits get added to a buffer Once an alpha char gets entered the buffer gets converted to an int and stored if the alpha char is a d it gets stored as the action, pending a movement key for direction if the alpha char is a movement key then the int, action (if present) and movement combine to create a loop.