File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,27 @@ Refile heading from capture or current file under destination with `:Telescope o
13
13
14
14
[ ![ asciicast] ( https://asciinema.org/a/1X4oG6s5jQZrJJI3DfEzJU3wN.svg )] ( https://asciinema.org/a/1X4oG6s5jQZrJJI3DfEzJU3wN )
15
15
16
- ## Setup
16
+ ## Installation
17
+ ### With lazyvim
18
+
19
+ ``` lua
20
+ {
21
+ " lyz-code/telescope-orgmode.nvim" ,
22
+ event = " VeryLazy" ,
23
+ dependencies = {
24
+ " nvim-orgmode/orgmode" ,
25
+ " nvim-telescope/telescope.nvim" ,
26
+ },
27
+ config = function ()
28
+ require (" telescope" ).load_extension (" orgmode" )
29
+
30
+ vim .keymap .set (" n" , " <leader>r" , require (" telescope" ).extensions .orgmode .refile_heading )
31
+ vim .keymap .set (" n" , " <leader>fh" , require (" telescope" ).extensions .orgmode .search_headings )
32
+ end ,
33
+ }
34
+ ```
35
+
36
+ ### Without lazyvim
17
37
18
38
You can setup the extension by doing:
19
39
You can’t perform that action at this time.
0 commit comments