-
-
Notifications
You must be signed in to change notification settings - Fork 215
Itero
core.itero
is a rather small and simple module designed to assist in the creation of many lists,
headings and other repeatable (iterable) items.
By default, the key that is used to iterate on an item is <M-CR>
(Alt + Enter). If you want to
change the bind, remap the core.itero.next-iteration
event.
Begin by writing an initial item you'd like to iterate (in this instance, and unordered list item):
- Hello World!
With your cursor in insert mode at the end of the line, pressing the keybind will continue the item at whatever
nesting level it is currently at (where |
is the new cursor position):
- Hello World!
- |
The same can also be done for headings:
* Heading 1
* |
This functionality is commonly paired with the core.promo
module to then indent/dedent
the item under the cursor with the <C-t>
and <C-d>
bindings.
-
(table)
Which item types to retain extensions for.
If the item you are currently iterating has an extension (e.g.
( )
,(x)
etc.), then the following items will also have an extension (by default( )
) attached to them automatically.
-
core.integrations.treesitter
- A module designed to integrate Treesitter into Neorg.
core.autocommands
core.clipboard
core.clipboard.code-blocks
core.completion
core.concealer
core.defaults
core.dirman
core.dirman.utils
core.esupports.hop
core.esupports.indent
core.esupports.metagen
core.export
core.export.markdown
core.fs
core.highlights
core.integrations.coq_nvim
core.integrations.nvim-cmp
core.integrations.nvim-compe
core.integrations.treesitter
core.itero
core.journal
core.keybinds
core.latex.renderer
core.looking-glass
core.neorgcmd
core.neorgcmd.commands.return
core.pivot
core.presenter
core.promo
core.qol.toc
core.qol.todo_items
core.queries.native
core.scanner
core.storage
core.summary
core.syntax
core.tangle
core.tempus
core.text-objects
core.todo-introspector
core.ui
core.ui.calendar