orgmode
orgmode copied to clipboard
Set default fold level from config, emacs' org-startup-folded
Does this feature exist in Emacs orgmode core?
Yes
Orgmode link
https://orgmode.org/manual/Initial-visibility.html
Feature value
No response
Additional context
Currently the default is to fold everything. I think it would be good if this feature could be changed as I personally (in most cases) don't like folds.
I have the same problem. And also would like to have this configurable. In the mean time I put this autocmd into my neovim configuraion. It seems to do the job. I can still fold staff if I want by pressing <S-Tab>. But by default it opens with all folds open.
local orgmode_group = vim.api.nvim_create_augroup("orgmode", { clear = true })
vim.api.nvim_create_autocmd(
'FileType',
{
group = orgmode_group,
pattern = 'org',
command = 'setlocal nofoldenable'
}
)