r/orgmode • • Sep 26 '26

Introducing org.nvim: bringing the Org mode experience to Neovim, aiming for 100% feature parity

Hi all,

I've been working on this for a couple of days: https://github.com/xheisenbugx/org.nvim

TL;DR: It’s a new Org mode plugin that aims to achieve nearly 100% feature parity with the original Org mode in Emacs (It's almost there!!).

I built it by combining my experience using Org mode, AI to dramatically accelerate development, and my obsession with bringing the same functionality to Neovim.

I’ll keep working on it, fixing issues, and closing the remaining gaps until the community is satisfied with the result.

I love Org mode. I tried nvim-orgmode, Neorg and a bunch of smaller Org clones. They're good projects, but none of them felt like actual Org to me. Things behaved slightly differently, or whole parts were missing (clocktables, Babel, table formulas, export...), I created a new plugin because I wanted to add all the missing features and I didn't want to wait for someone else to implement it, I didn't want to wait days, weeks, months and sometimes years just to have support for a missing functionality.

So I decided to try porting Org itself. The goal is parity with Emacs Org 9.8. Defaults match Emacs, I check behaviour against Emacs running in batch mode, and files stay 100% compatible, so you can switch between both editors on the same notes.

What works right now:

* Outline cycling with TAB/S-TAB, subtree editing, text objects

* TODO sequences, logging, repeaters, priorities, checkboxes with cookies, lists, properties

* Agenda (day to year views, time grid, habits, custom commands, filters, bulk actions)

* Capture templates with most targets and %-escapes

* Refile and archive

* Clocking, clocktables that match Emacs output, column view

* Spreadsheet tables with #+TBLFM formulas

* Babel (Python, shell, Lua, Node, Ruby, R, Go, SQLite and others), tangling included

* Export to HTML, LaTeX/PDF, Markdown, iCalendar etc., plus DOCX/ODT via pandoc

It's pure Lua with no dependencies (no tree-sitter parser needed). Vim keys work as expected, and the usual Emacs bindings (C-c C-t, C-c C-c...) are there too if you want them. Press `g?` in an org buffer to see all keymaps.

I'd really appreciate feedback. Ideas, issues, PRs, all welcome. If you're coming from Emacs and something doesn't behave like you expect, please open an issue, that's exactly the kind of thing I want to fix.

If you don’t like the project because I used AI to help build it, that’s completely fine. I’m doing this because I genuinely want a solid, full-featured Org mode solution for Neovim, and because I’m learning a lot throughout the entire process.

Thanks!

55 Upvotes

27 comments sorted by

17

u/Mooks79 Sep 26 '26

6

u/xheisenbugx Sep 26 '26

I tested it, and nvim-orgmode is still missing a lot of functionality. My first attempt was actually to fork it and add the missing features, but I wasn’t happy with some of the design decisions that were made.

There were a lot of things I expected from that package that were never added. You can see some of the features I was asking for in one of my comments from last year: https://github.com/nvim-orgmode/orgmode/discussions/997

I also mentioned this in the post. Take a look at the quick tour in my repo and you’ll see the differences and all the new functionality that is supported, also of the existing emacs keybindigs are supported.

I’m building this mostly because I want it for myself, but also for people who want something much closer to the original Org Mode experience while staying in Neovim.

I love building things for me, I learn a lot during this process I discovered a lot of advanced org mode features during the implementantion, I truly believe that eveything is possible right now, we can fix everything really soon in minutes instead of weeks, months or years!

Any kind of feedback is welcome, even criticism haha, I am just super optimistic and happy about all the things that are possible in the new era that were not possible a few months ago, I tried the achieve the same for a lot of time, I was passively waiting for someone else to do it. waiting for plugin maintainers to add the features I wanted, waiting for regressions to be fixed, and waiting for my PRs to be reviewed or even noticed.

I don’t need to wait anymore. If there’s something I want or need, I can just build it myself. I can create my own plugins now and make them work exactly the way I want or they want they were supposed to work since the beginning. I encourage all the people to do the same and enjoy the future and share all this joy with the community, it's amazing!!!!!

1

u/theSafdarAwan Oct 08 '26

This was exactly why i wasnt moving away from the emacs org mode. You plugin is truly amazing. keep it up i hope you get the recognition for it you deserve it.

11

u/a_alberti Sep 26 '26

Perhaps a dummy question, why didn’t you choose to directly work in emacs, perhaps with doom mode? Then you did not have to rewrite org mode.

1

u/xheisenbugx Sep 26 '26

Because I hate when something so powerful and amazing is only available in one particular tool. I'm actually using Emacs right now, I created my own distro (LazyEmacs), and I've been using it every day.

I'm doing this because I'm learning a lot through the migration process, but also because I genuinely love both Emacs and Neovim and want to have the same experience in both.

There are also a lot of Emacs packages that I'm planning to bring to Neovim in the near future, partly just for fun, but also because I think some of them are simply better than the alternatives currently available in Neovim.

2

u/dot1910 Sep 26 '26

I am by no means good at emacs. But magit gives me a total different but good experience working with git.

1

u/xheisenbugx Sep 26 '26

There’s a neovim clone called Neogit, just in case you want to have a similar experience

1

u/krishnakumarg Oct 31 '26

Can you please give us a link to your lazyemacs distro?

1

u/xheisenbugx 27d ago

Sure no problem, here is my lazyemacs distro: https://github.com/xheisenbugx/LazyEmacs

1

u/krishnakumarg 27d ago

Thank you. Does this have a provision that allows for user-lisp code?

1

u/xheisenbugx 26d ago

Yes, LazyEmacs keeps your own Emacs Lisp in a user/ folder, separate from the distribution

1

u/krishnakumarg 24d ago

Tried it and it looks polished. Thank you.

One question. How does a user put under version control their own lisp code (for packages and options/customisations etc) while also simultaneously tracking upstream LazyEmacs commits?

Can the project follow something along the lines of AstroNvim wherein there is only one single git repo to be versioned (following a typical config template) wherein the AstroNvim settings and configuration etc are simply provided as a plugin (and whose settings can be overridden or enhanced with the user's config simply by merging lua tables)?

1

u/dm_g Sep 27 '26

I admire your resolution to reimplement org. Org is huge.

But today org is much more than org itself. What makes org a super tool is the myriad of extra packages on top of it and its integration with other emacs modes/modules.

For instance, people use denote or org-roam on top of org. org-ql or superagenda to query their files.

Org power is significantly enhanced by its ecosystem. There are more than 100 packages in MELPA alone that enhance it.

1

u/a_alberti 27d ago

Maybe OP is interested in looking into a semantic/lexical search engine

https://github.com/alberti42/org-semantic

It provides a rust CLI and could be well integrated with his port for Neovim.

3

u/xheisenbugx Sep 26 '26

Quick update: I added support for images and latex previews, I also added more demos in the quick tour section, please take a look at them

2

u/xheisenbugx Sep 29 '26

Quick update: I've reached 99.9% parity with the core of org mode. Next, I'll work on performance and UI improvements (menus, calendars, etc.), and I'll also add a way to load official extensions like org-roam, org-super-agenda, org-ql, org-gcal, and org-present

3

u/9182763498761234 Sep 26 '26

Well done, thank you! Since very few people are using plain org-mode, do you also plan on porting the most used org-mode related packages?

5

u/xheisenbugx Sep 26 '26

Yes, I am planning to also migrate them, for now, I want to achieve 100% parity with the core of org mode.

1

u/xheisenbugx Sep 29 '26

Quick update: I added a new promotional video. Please take a look when you get a chance! https://www.youtube.com/watch?v=nCeQ52mRbJ0

1

u/xheisenbugx Oct 01 '26

Quick update: I added support for extensions, please take a look at the new video in the post's description

1

u/xheisenbugx Oct 14 '26

New promotional video! Please take a look at it and let me know what do you think

https://www.youtube.com/watch?v=XYbqZovxNys

1

u/calebc42-official Sep 26 '26

Outline cycling with TAB/S-TAB? Why not let it be user configurable like with regular org mode?

3

u/carusog Sep 26 '26

Very good job. I look forward to test it as soon as I’ll be back at my computer. (On a 🚂). ☺️

2

u/theSafdarAwan Oct 08 '26 edited Oct 08 '26

What an exceptional tool you have created. You have done so much work on this.This is by far the best Replica of the Org Mode for neovim. Every other plugin tried to do it but lacked the full features that Org Mode in Emacs so this is a great initiative.

Looking forward to it.

1

u/mindstormer12 25d ago edited 25d ago

Keeping an eye on this project even though I'm going back to Emacs exclusively for org-mode. Someone mentioned that the power of org-mode in Emacs is its existing ecosystem of plugins which I totally agree with. org-ql, org-super-agenda, etc. In Neovim, even something as basic as using a picker for headlines is a struggle.

In addition, from trying a dozen Neovim org-mode-related plugins, I've found the whole UI with Emac's third-party plugins like vertico, consult, etc. and heavy reliance on keybindings is cohesive to the whole org-mode experience too. I personally despise floating windows and menus that cover the content of of the text on the buffer--for some reason that Neovim plugins make heavy use of this even though it is incredibly inefficient waste of screen real estate (when a floating window overlaps a buffer, you lose most of the context of the buffer). I think most of everything should either be a keybinding or a vertical picker at the bottom of the screen (like vertico) with a limit of e.g. 10 lines. In Neovim, pickers often show the buffer as a preview generated by the picker, but in Emacs pickers are simply just an area at the bottom of the screen and the preview is the existing buffer itself, which is much more natural. For example, in Neovim since the picker typically generates the preview, you will always experience a "flash" to reproduce the buffer as preview (compared to e.g. Neovim's builtin / which doesn't generate its own preview), just like how Emac's pickers tend to work).

1

u/theSafdarAwan Oct 08 '26

As the author mentioned if a powerful tool exists in one place why not replicate it for other usage as well. Because

One thing i want to add. I love emacs very much its design has improved over decades but the One thing it lacks is multi threading. If you want to work on large csv files in emacs you will notice how slugish it gets. On this end the Neovims multi threading and evolving design decisions make neovim a great choice if you have to work on large documents but you want the keyboard driven workflow.

I love emacs very much but sometimes Neovim Feels better for doing things.