mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Added vim visual navigation
This commit is contained in:
1 parent
d3e43b5cc9
commit
e06e93b237
1 file changed
+35
-2
@@ -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 |
|
||||
|
||||
Reference in new issue
Block a user