Skip to content

Commit a72d091

Browse files
Update readme with setup instructions in init.vim.
1 parent 5e9f250 commit a72d091

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,24 @@ call dein#add('kristijanhusak/orgmode.nvim')
6464
## Setup
6565

6666
```lua
67+
-- init.lua
6768
require('orgmode').setup({
6869
org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'},
6970
org_default_notes_file = '~/Dropbox/org/refile.org',
7071
})
7172
```
7273

74+
Or if you are using `init.vim`:
75+
```vim
76+
" init.vim
77+
lua << EOF
78+
require('orgmode').setup({
79+
org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'},
80+
org_default_notes_file = '~/Dropbox/org/refile.org',
81+
})
82+
EOF
83+
```
84+
7385
* **Open agenda prompt**: <kbd>\<Leader\>oa</kbd>
7486
* **Open capture prompt**: <kbd>\<Leader\>oc</kbd>
7587
* In any orgmode buffer press <kbd>?</kbd> for help

0 commit comments

Comments
 (0)