Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 4.19 KB

Actions.md

File metadata and controls

44 lines (40 loc) · 4.19 KB
title Actions
tags
navigation
actions

See LSP code actions for actions exposed via the LSP interface.

name mode description arguments
follow_link n Open the link under the cursor. link
nav_link n Navigate to next/previous link. direction, include_hints
smart_action n Context-aware action on the cursor.
new n Create a new note. id
new_from_template n Create a new note from a template. id, template
unique_note n Create a unique note. timestamp
unique_link n Create and insert a unique note link. timestamp
add_property n Add frontmatter property.
insert_template n Insert a template at cursor. name
rename n Rename current note. name
move_note n Move current note to another folder.
delete_note n Delete current note.
merge_note n Merge current note into another note. dst_note
start_presentation n Start slide presentation. buf
workspace_symbol n Search notes, aliases, and headings. query
insert_link n Pick a note and insert its link. query
search_tags n Search notes by tag. tags
insert_tag n Pick and insert a tag.
add_tag n Pick and add tag to current note.
toggle_checkbox n, v Toggle (cycle) checkbox state. start_lnum, end_lnum
set_checkbox n, v Set to specific checkbox state. state
link_suggestions n Pick unlinked outgoing mentions to link.
backlink_suggestions n Pick unlinked incoming mentions to link.
link n, v Link cursor word or selection to an existing note. range, bufnr
unlink n Replace a link with its display text. bufnr, position
link_new n, v Create a note and link cursor word or selection. title
extract_note v Move selection to a new note. title
increment n Scroll a note embed up; otherwise pass through <C-a>.
decrement n Scroll a note embed down; otherwise pass through <C-x>.

See also

[[LSP]] · [[Keymaps]] · [[Commands]]