File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ Refile heading from capture or current file under destination with `:Telescope o
15
15
[ ![ asciicast] ( https://asciinema.org/a/1X4oG6s5jQZrJJI3DfEzJU3wN.svg )] ( https://asciinema.org/a/1X4oG6s5jQZrJJI3DfEzJU3wN )
16
16
17
17
## Installation
18
+
18
19
### With lazyvim
19
20
20
21
``` lua
@@ -80,7 +81,7 @@ Every mode is available in every function.
80
81
81
82
This is the first and default mode. It shows all the headlines, initially
82
83
sorted by most recently changed org file. The level of headlines can be
83
- [ configured] ( #Configuration ) .
84
+ [ configured] ( #configuration ) .
84
85
85
86
### Search org files
86
87
@@ -114,3 +115,16 @@ For a particular command you can pass it directly in your key mapping to the fun
114
115
``` lua
115
116
require (' telescope' ).extension .orgmode .search_headings ({ max_depth = 3 })
116
117
```
118
+
119
+ You can also create a key mapping, that allows you to search directly for org files:
120
+
121
+ ``` lua
122
+ vim .set .keymap (
123
+ " n" ,
124
+ " <Leader>off" ,
125
+ function ()
126
+ require (' telescope' ).extension .orgmode .search_headings ({ mode = " orgfiles" })
127
+ end ,
128
+ { desc = " Find org files" }
129
+ )
130
+ ```
You can’t perform that action at this time.
0 commit comments