Nvim orgmode is a clone of Emacs Orgmode for Neovim 0.10.0+. It aims to be a feature-complete implementation of Orgmode features in Neovim.
💡 TIP: To view this documentation offline in Neovim, run :Org help
. More info in Globals and commands section.
- Install with lazy.nvim:
{ 'nvim-orgmode/orgmode', event = 'VeryLazy', config = function() -- Setup orgmode require('orgmode').setup({ org_agenda_files = '~/orgfiles/**/*', org_default_notes_file = '~/orgfiles/refile.org', }) end, }
- Capture youf first note with
<leader>oc
- Open up the prompt for agenda with
<leader>oa
For more details about the installation and usage, check Installation page.
To see all configuration options, check Configuration page.
To get a basic idea how Orgmode works, check our hands-on tutorial.You can also check this screencast from @dhruvasagar that demonstrates how the similar Orgmode clone vim-dotoo works.
https://www.youtube.com/watch?v=nsv33iOnH34
Nvim-orgmode exoses a Lua API that can be used to interact with the orgmode. To view it, check orgmode-api.txt or do:h OrgApi
in Neovim.
There are 2 additional ways to interact with Orgmode:
- Through the
:Org
command - Through
Org
Lua global variable
List of available actions:
:Org help
- Open this documentation in new tab, set working directory to the docs folder for the tab to allow browsing:Org helpgrep
- Open search agenda view that allows searching through the documentation:Org agenda {type?}
- Open agenda view by the shortcut, for example:Org agenda M
will opentags_todo
view. Whentype
is omitted, it opens up Agenda view.:Org capture {type?}
- Open capture template by the shortcut, for example:Org capture t
. Whentype
is omitted, it opens up Capture prompt.
All of the commands above can be executed through the global Lua Org
variable. Examples:
Org.help()
Org.helpgrep()
Org.agenda()
- Opensagenda
promptOrg.agenda.m()
- Openstags
viewOrg.capture()
- Opens capture promptOrg.capture.t()
- Opens capture template fort
shortcut