vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

line-char-first.in

(301B)


      1 ^	To the first non-blank character of the line.
      2 1 From start to start
      3 2 From _ to start
      4 3 From end to start 4 empty line \n 5 empty line \r\n
      5 
      6 
      7         6 Spaces
      8 	7 Tabs
      9       8 Backspace
     10       9 Vertical tab
     11       10 Form feed
     12       11 Carriage return
     13         12 Idempotent (count has no effect)