You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-22Lines changed: 0 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,91 +126,69 @@ see what they can do, and learn as you go.
126
126
" params
127
127
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zkindex
128
128
:ZkIndex [{options}]
129
-
```
130
129
131
-
```vim
132
130
" Creates and edits a new note
133
131
"
134
132
" Use the `inline = true` option to insert the content of the created note at the caret position, instead of writing the note on the file system.
135
133
"
136
134
" params
137
135
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zknew
138
136
:ZkNew [{options}]
139
-
```
140
137
141
-
```vim
142
138
" Creates a new note and uses the last visual selection as the title while replacing the selection with a link to the new note
143
139
"
144
140
" Use the `inline = true` option to replace the selection with the content of the created note, instead of writing the note on the file system.
145
141
"
146
142
" params
147
143
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zknew
148
144
:'<,'>ZkNewFromTitleSelection [{options}]
149
-
```
150
145
151
-
```vim
152
146
" Creates a new note and uses the last visual selection as the content while replacing the selection with a link to the new note
153
147
"
154
148
" Use the `inline = true` option to replace the selection with the content of the created note, instead of writing the note on the file system.
155
149
"
156
150
" params
157
151
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zknew
158
152
:'<,'>ZkNewFromContentSelection [{options}]
159
-
```
160
153
161
-
```vim
162
154
" cd into the notebook root
163
155
" params
164
156
" (optional) additional options
165
157
:ZkCd [{options}]
166
-
```
167
158
168
-
```vim
169
159
" Opens a notes picker
170
160
" params
171
161
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zklist
172
162
:ZkNotes [{options}]
173
-
```
174
163
175
-
```vim
176
164
" Opens a notes picker for active buffers (showing notebook files only).
177
165
" params
178
166
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zklist
179
167
:ZkBuffers [{options}]
180
-
```
181
168
182
-
```vim
183
169
" Opens a notes picker for the backlinks of the current buffer
184
170
" params
185
171
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zklist
186
172
:ZkBacklinks [{options}]
187
-
```
188
173
189
-
```vim
190
174
" Opens a notes picker for the outbound links of the current buffer
191
175
" params
192
176
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zklist
193
177
:ZkLinks [{options}]
194
-
```
195
178
196
-
```vim
197
179
" Inserts a link at the cursor location or around the selected text.
198
180
" params
199
181
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zklist
200
182
" One additional option is `matchSelected` (boolean) which is only applicable to inserting a link around selected text. If `true`, the note picker will search for notes similar to the selected text. Otherwise, the note picker will load all notes to filter through.
201
183
" e.g. :'<'>ZkInsertLinkAtSelection {matchSelected = true}
202
184
:ZkInsertLink
203
185
:'<,'>ZkInsertLinkAtSelection [{options}]
204
-
```
205
186
206
-
```vim
207
187
" Opens a notes picker, filters for notes that match the text in the last visual selection
208
188
" params
209
189
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zklist
210
190
:'<,'>ZkMatch [{options}]
211
-
```
212
191
213
-
```vim
214
192
" Opens a notes picker, filters for notes with the selected tags
215
193
" params
216
194
" (optional) additional options, see https://github.com/zk-org/zk/blob/main/docs/tips/editors-integration.md#zktaglist
0 commit comments