blob: 183db7f10fcf00c306b952a4c8d03eda29d25109 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
[visual select]
- v
- shift + v, aka V, selects whole lines
[cut]
- cc, cut whole line
- d, deletes yet stores in the buffer
- C, cut from cursor till end of line
[indent]
- shift + >
- shift + <
[copy]
yank
- yy, 1 line
- 10Y, 10 lines
[editing 2 files]
- vim -o file1 file2
- switch by tapping CTRL + w
[navigation]
- G (goto bottom)
- gg (goto top)
|