The lisp program is structured language, and one can execute C-M-f
(forward-sexp
) to pick the next sibling element. Similarly, C-M-b, C-M-u, C-M-d are defined; they can be used to move the cursor to backward/upward/down the current lisp element.
Nowadays, there are many occasions to edit YAML files. Since YAML file is also a structured language, I thought it would be nice if we could similar operation for moving around, against these files.
Question
When editing YAML files, can I move the cursor according to the current YAML element being pointed by the cursor, just like we'd go up/down/next/previous element in the lisp snippet?