From d02b6d14aa0391bce4a5a5f24ba559153da6faf7 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Sat, 31 Aug 2024 22:43:17 -0400 Subject: [PATCH] :vim --- cheat_sheet.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cheat_sheet.md b/cheat_sheet.md index 25e07bc..8a53a08 100644 --- a/cheat_sheet.md +++ b/cheat_sheet.md @@ -36,6 +36,9 @@ ### Cursor +- `hjkl` - move +- `w` - move to next word +- `b` - mve to previous word - `H` move to top of screen - `M` move to middle of screen - `L` move to bottom of screen @@ -66,6 +69,8 @@ ## Search +- `:vim a *.*` - search for 'a' in all files in dir +- `:copen` / `cclose` open quickfix list to view matches of `:vim` - `/` find - `n` find next match - `N` find previous match