Skip to content

Commit

Permalink
Add the Vim joke for first aid
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 24, 2024
1 parent d19e7d0 commit e29fdc4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions trees/uts-002F.tree
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ Most frequently used key mappings is `<leader>` + one character. There are also

\mdblock{First aid}{

> To generate a truly random string, place a new user in front of Vim and ask them to exit

Most of the time, one can use `Esc` + `:qa!` to force quit Vim, with potential loss of unsaved changes.

In most plugin UIs,

- it can be quit with a single `q`, or `Esc` + `:q`, when in despair, try also `Ctrl+c`
- it will usually enter normal mode first, even in terminals, a single `i` is required to enter insert mode, to acually type something.
- it might provide visual hints on how to navigate, usually a single number or a character in brackets.
- it will usually enter normal mode first, even in terminals, a single `i` is required to enter insert mode, to acually type something
- it might provide visual hints on how to navigate, usually a single number or a character in brackets
- `g?` or `?` might bring up help on key mappings.

Recording is a powerful feature of Vim, but one can accidentally trigger it with an out-of-order `q`, so one simply need to remember to press `q` again to quit recording if seeing something like `recording @a` in the status bar.
Expand Down

0 comments on commit e29fdc4

Please sign in to comment.