I am using Vim mode in Obsidian.
I want to define Vim functions, in the style, :function Name()…
, but it says it’s not a recognized command.
Does the .vimrc plugin allow you to define Vim functions, or should I use an Obsidian plugin for custom editing macros?
As an example, a macro which takes the current line the cursor is on, and reads it into a variable that I can operate on in a programming language, and then rewrites the result to the line.