-
Notifications
You must be signed in to change notification settings - Fork 1
/
telescope-doc.txt
96 lines (66 loc) · 2.68 KB
/
telescope-doc.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
*telescope-doc.txt* A telescope powered plugin to search in your documents
Author: to268
Licence: GPL v3.0
Homepage: https://github.com/to268/telescope-doc.nvim
==============================================================================
CONTENTS *telescope-doc-contents*
1. Intro ................................ |telescope-doc-intro|
2. Usage ................................ |telescope-doc-usage|
3. License .............................. |telescope-doc-license|
==============================================================================
1. Intro *telescope-doc-intro*
Telescope-doc is a telescope plugin to search and open documents files like
pdf, html and text based documents. It's very handy when you have a ton of
files and it's saves you a considerable amount of time.
==============================================================================
2. Usage *telescope-doc-usage*
VimL:
Use :call TelescopeDoc() to launch the plugin. To set the directory where to
search files recursively use:
>
let g:telescope_doc_path = ""
<
If you want to set viewers (program to preview pdf and html files) manually
use:
>
let g:telescope_doc_pdf_viewer = ""
let g:telescope_doc_html_viewer = ""
<
If you want to fork the viewer process or open others files differently in
neovim use:
>
" Values: false, true
let g:telescope_fork_process = "true"
" Values: edit, split, vsplit, tab
let g:telescope_open_mode = "vsplit"
<
Lua:
Use this function to launch the plugin in the lua language.
telescope-doc.open_path({opts}) *telescope-doc.open_path()*
Open telescope-doc.
Valid keys for {opts}
cwd: ~
Directory where to search files
Default: ''
pdf_viewer: ~
External program to display pdf files.
Default: '$READER' or 'zathura' or ''
html_viewer: ~
External program to display html files.
Default: 'xdg-open' or ''
fork_process: ~
Whether the program is forked with setsid.
Default: true
open_mode: ~
Determines how others files are opened in neovim.
Available options are:
- "edit"
- "split"
- "vsplit" (default)
- "tab"
Parameters: ~
{opts} (table) Configuration opts.
==============================================================================
3. License *telescope-doc-license*
GPL v3.0
vim:tw=78:ts=8:ft=help:norl: