Skip to content

Instantly share code, notes, and snippets.

@cchwala
cchwala / screen_cheat_sheet.md
Last active August 17, 2022 20:09
GNU screen info
@cchwala
cchwala / vim_cheat_sheet.md
Last active August 22, 2022 11:14
VIM cheat sheet

Most important navigation (besides hjkl)

  • b (back a word), e (end of word), ge (back to end of word)
  • Jump to character in a line using f or t (to go to the position one before the searched char)
  • Change text up to the searched char, e.g. cf and the char you are looking for.
  • H (high), M (middle), L (low) for cursor placement
  • zz to center cursor in middle of screen, zt and zb for top and bottom
  • Ctrl-e and Ctrl-y to scroll up and down, keeping the cursor at its position
  • Ctrl-o to jump back to the previous (older) location, Ctrl-i for opposite direction

Jumps