forked from tree-sitter-grammars/tree-sitter-vim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit.vim
More file actions
68 lines (55 loc) · 1.24 KB
/
edit.vim
File metadata and controls
68 lines (55 loc) · 1.24 KB
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
edit
" <- @keyword
edit!
" <- @keyword
" ^ @punctuation.special
edit ++ff=dos + filename.txt
" <- @keyword
" ^^^^ @property
" ^ @constant
" ^ @operator
" ^ @string.special.path
edit ++bad=A ++nobinary #1
" <- @keyword
" ^ @property
" ^ @property
" ^ @number
ex
" <- @keyword
ex ++encoding=latin1 +3 filename
" <- @keyword
" ^ @property
" ^ @constant
" ^ @operator
" ^ @number
" ^ @string.special.path
enew!
" <- @keyword
" ^ @punctuation.special
find filename
" <- @keyword
" ^ @string.special.path
find! ++bad=keep another\ filename
" <- @keyword
" ^ @punctuation.special
" ^ @property
" ^ @constant
" ^^^^^^^^^^^^^^^^^ @string.special.path
vi
" <- @keyword
visual! ++binary
" <- @keyword
" ^ @punctuation.special
" ^ @property
visual filename
" <- @keyword
" ^ @string.special.path
vie +/pattern_to_check_against filename
" <- @keyword
" ^ @operator
" ^ @string.special
" ^ @string.special.path
view! banged_filename
" <- @keyword
" ^ @punctuation.special
" ^ @string.special.path