Skip to content

Instantly share code, notes, and snippets.

@bisraelsen
Last active April 26, 2020 16:06
Show Gist options
  • Save bisraelsen/7681aa66ef4d73059efc1e3e197fc4ac to your computer and use it in GitHub Desktop.
Save bisraelsen/7681aa66ef4d73059efc1e3e197fc4ac to your computer and use it in GitHub Desktop.
Vim-like keymap for Joplin terminal application
[
{ "keys": [":"], "type": "function", "command": "enter_command_line_mode" },
{ "keys": ["l"], "type": "function", "command": "focus_next" },
{ "keys": ["h"], "type": "function", "command": "focus_previous" },
{ "keys": ["k"], "type": "function", "command": "move_up" },
{ "keys": ["j"], "type": "function", "command": "move_down" },
{ "keys": ["H"], "type": "function", "command": "page_up" },
{ "keys": ["L"], "type": "function", "command": "page_down" },
{ "keys": ["ENTER"], "type": "function", "command": "activate" },
{ "keys": ["x"], "type": "function", "command": "delete" },
{ "keys": ["~"], "command": "todo toggle $n" },
{ "keys": ["tc"], "type": "function", "command": "toggle_console" },
{ "keys": ["tm"], "type": "function", "command": "toggle_metadata" },
{ "keys": ["/"], "type": "prompt", "command": "search \"\"", "cursorPosition": -2 },
{ "keys": ["mn"], "type": "prompt", "command": "mknote \"\"", "cursorPosition": -2 },
{ "keys": ["mt"], "type": "prompt", "command": "mktodo \"\"", "cursorPosition": -2 },
{ "keys": ["mb"], "type": "prompt", "command": "mkbook \"\"", "cursorPosition": -2 },
{ "keys": ["yn"], "type": "prompt", "command": "cp $n \"\"", "cursorPosition": -2 },
{ "keys": ["dn"], "type": "prompt", "command": "mv $n \"\"", "cursorPosition": -2 }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment