Reading @mwl's #EdMastery and taking notes in VSCode:
ka -- set a mark "a," equivalent to vi ma
*,n
1 = -- display the number of lines in the file
2 .= -- display the current line number
3 ; -- same as .,$
4 -,+p -- display the current line with a single line of context before and after
5 z3 -- display the current line and three more
6 2z2n -- display line 2 and two more, with line numbers
7 ka -- set a mark "a," equivalent to vi ma
8 'a,'bn -- print lines with line numbers between marks "a" and "b"
*1,3s/-- /--/
*,n
1 = -- display the number of lines in the file
2 .= -- display the current line number
3 ; -- same as .,$
4 -,+p -- display the current line with a single line of context before and after
5 z3 -- display the current line and three more
6 2z2n -- display line 2 and two more, with line numbers
7 ka -- set a mark "a," equivalent to vi ma
8 'a,'bn -- print lines with line numbers between marks "a" and "b"
*w
415
*
Did I say VSCode? psyche!! I meant #ed, of course! 🤣
🍵 



