I am trying to bind a key to perform these with ChainOfCommand package, it works great. However, I like to see if I can save the cursor position, unselect and restore cursor position at the end. What are the commands should I call ? Thanks!
[
{
"keys": ["ctrl+alt+f"],
"command": "chain",
"args": {
"commands": [
["save_cursor_position"],
["select_all"],
["unindent"],
["reindent"],
["unselect"],
["restore_cursor_position"]
]
}
}
]