This plugin replaces default cycling with a simpler version, implementing the org-cycle-only-current-subtree-h functionality of Doom Emacs, disabling the show-all stage of org-cycle.
This forces cycling only between folded → children visible → folded, without revealing the full subtree, which can make browsing notes faster for some workflows.
This plugin is an extension intended for use with nvim-orgmode
- Toggle fold for the current headline or subheadlines.
- Works with
nvim-orgmodefiles (*.org). - Lightweight and minimal, no subtree expansion by default.
- Supports configurable keymaps.
- Compatible with all major Neovim plugin managers.
Make sure you have nvim-orgmode installed before using this plugin.
-- init.lua or plugins.lua
require("lazy").setup({
"aaratha/org-cycle-lite.nvim",
config = function()
require("org-cycle-lite").setup({
keymap = "<TAB>", -- Optional: change keymap
})
end,
})use {
"aaratha/org-cycle-lite.nvim",
config = function()
require("org-cycle-lite").setup({
keymap = "<TAB>", -- Optional: change keymap
})
end
}Plug 'aaratha/org-cycle-lite.nvim'Then in lua config:
require("org-cycle-lite").setup({
keymap = "<TAB>", -- Optional
})