Added vim visual navigation

This commit is contained in:
Randy8080 committed 2021-01-04 11:46:08 +08:00
1 parent d3e43b5cc9
commit e06e93b237
1 file changed
+35 -2
+35 -2
View File
@@ -11,13 +11,46 @@ tags:
categories:
- Toolkit
intro: |
[Vim](http://www.vim.org/) is a very efficient text editor. This reference was made for Vim 8.0.
For shortcut notation.
[Vim](http://www.vim.org/) is a very efficient text editor. This quick reference cheat sheet was made for Vim 8.0.
---
Getting started {.cols-3}
---------------
### Visualization
```bash
▼|► Cursor ▽|▷ Target
┌───────────── 0 $ ──────────────┐
│ ┌────────── ^ fe ────────┐ │
│ │ ┌─────── Fo te ───────┐│ │
│ │ │┌────── To w ───┐ ││ │
│ │ ││ ┌──── ge e ─┐ │ ││ │
│ │ ││ │ ┌h l┐ │ │ ││ │
▽ ▽ ▽▽ ▽ ▽▼ ▼▽ ▽ ▽ ▽▽ ▽
echo "A cheatsheet from quickref.me"
```
---
```bash
- SCREEN 1 START
┌─┬─────────▷ #!/usr/bin/python
│ │ ┌───▷
│ │ │ print("Hello")
│ │ { } ► print("Vim")
│ │ │ print("!")
│ │ └─▷
│ │ ┌───┬───▷ print("Welcome")
G gg H M L k j ► print("to")
│ │ └─▷ print("quickref.me")
│ │ print("/vim")
│ │
│ └─────▷
│ - SCREEN 1 END
└──────────────▷ print("SCREEN 2")
```
### Navigating {.row-span-3}
| Shortcut | Description |