-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
welcome.txt
71 lines (54 loc) · 2.19 KB
/
welcome.txt
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Ved - a fast Vim-like editor written in V.
Ved works best with workspaces (directories with code).
You can have multiple workspaces and quickly switch between them with `C [` and `C ]`.
To open multiple workspaces, run
ved path/to/project1 path/to/project2
If you never used vim before press `j` to move down
Key bindings:
"C" means the Apple key on macOS, control key on all other systems.
C o open a file
C s save
C r reload current file
C p open ctrlp (fuzzy search)
/ search in current file
C g copy current file's path to clipboard
C q exit the editor (type it twice in a row)
t go to the previous file
gd go to definition
C c git commit -am
C - git diff
? git grep (search across all files in current workspace)
C u build current project (build instructions must be located in "build")
C y alternative build of the current project (build instructions must be located in "build2")
C 1 switch to Ved from any other application (only on macOS for now)
C d go to the previous split
C e go to the next split
C [ go to the previous workspace
C ] go to the next workspace
C a start a new task
C t show the Timer/Pomodoro window
Supported Vim bindings:
j k h l down, up, left, right (moves cursor)
C-F C-B page down, page up
L H go to top/bottom of the page
w b next/previous word
dw de cw ce delete word
di ci smart delete
A I go to start/end of line, insert mode
o O new line below/above, insert mode
v selection mode
zz center current line
y d p J yank, delete, paste, join lines
. repeat last action
< > indent right/left
/ * n search, search for word under cursor, next occurence
gg G go to the beginning/end of the file
x r delete/replace character under cursor
C-n autocomplete
### .ved configuration file for each workspace
Add a `.ved` json config file to the root of your workspace. Right now it supports the following options:
```json
{
"grep_file_extensions": ["go", "v"] // File extensions that git grep should search in. Everything else is ignored.
}
```