File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # telescope-orgmode.nvim
2+
3+ Integration for [ orgmode] ( https://github.com/nvim-orgmode/orgmode ) with
4+ [ telescope.nvim] ( https://github.com/nvim-telescope/telescope.nvim ) .
5+
6+ ## Demo
7+
8+ TODO
9+
10+ ## Setup
11+
12+ You can setup the extension by doing:
13+
14+ ``` lua
15+ require (' telescope' ).load_extension (' orgmode' )
16+ ```
17+
18+ To replace the default refile prompt:
19+
20+ ``` lua
21+ vim .api .nvim_create_autocmd (' FileType' , {
22+ pattern = ' org' ,
23+ group = vim .api .nvim_create_augroup (' orgmode_telescope_nvim' , { clear = true })
24+ callback = function ()
25+ vim .keymap .set (' n' , ' <leader>or' , require (' telescope' ).extensions .orgmode .refile_heading )
26+ end ,
27+ })
28+ ```
29+
30+ ## Available commands
31+
32+ ``` viml
33+ :Telescope orgmode search_headings
34+ :Telescope orgmode refile_heading
35+ ```
36+
37+ ## Available functions
38+
39+ ``` lua
40+ require (' telescope' ).extensions .orgmode .search_headings
41+ require (' telescope' ).extensions .orgmode .refile_heading
42+ ```
You can’t perform that action at this time.
0 commit comments