Skip to content

Commit f989d7b

Browse files
committed
adding section on localleader mappings to pandoc.txt
1 parent 2ae6066 commit f989d7b

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

doc/pandoc.txt

+53
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,59 @@ this to
248248
Note that this will *remove* any title block, as well as processing any
249249
custom latex macros. So you might not want to `ggvG=`.
250250

251+
*pandoc-localleader-mappings*
252+
=============================
253+
254+
In addition to the localleader mappings for the convert-and-open
255+
functions, the bundle offers, there is
256+
257+
<localleader>www
258+
259+
which, when invoked from within a url, will open that url in your
260+
default browser; and
261+
262+
<localleader>gr
263+
264+
which, when invoked from within a reference style link (or footnote),
265+
like
266+
267+
[this][id]
268+
269+
attempts to jump forward to the line reference definition, like
270+
271+
[id]: http://example.com
272+
273+
And
274+
275+
<localleader>br
276+
277+
which attempts to jump back from a reference definition to the
278+
corresponding link. Finally, there is
279+
280+
<localleader>nr
281+
282+
which, when invoked from within a reference style link (or footnote),
283+
creates a new reference definition after the current paragraph. So, for
284+
example, you can type
285+
286+
Something like [this]
287+
288+
and hit `,nr` to get
289+
290+
Something like [this]
291+
292+
[this]:
293+
294+
Or
295+
296+
Something like [this][id]
297+
298+
to get
299+
300+
Something like [this][id]
301+
302+
[id]:
303+
251304
Maintainers
252305
===========
253306

0 commit comments

Comments
 (0)