Joplin: [ Feature Request ] vim-style navigation (hjkl) in terminal app

Created on 16 Sep 2018  路  3Comments  路  Source: laurent22/joplin

Operating System

  • Windows
  • macOS
  • Linux

Application

  • Terminal

I may take a stab at implementing this if I have time, but vim-style navigations in the terminal app would be a great feature to add.

Most helpful comment

Just for those that find this ticket later, this is what I landed on to make things a little more vim-like:

~/.config/joplin/keymap.json:

[
    { "keys": ["h"], "type": "function", "command": "focus_previous" },
    { "keys": ["j"], "type": "function", "command": "move_down" },
    { "keys": ["k"], "type": "function", "command": "move_up" },
    { "keys": ["l"], "type": "function", "command": "focus_next" },
    { "keys": ["/"], "type": "prompt", "command": "search \"\"", "cursorPosition": -2 },
    { "keys": ["q"], "type": "exec", "command": "exit" }
]

All 3 comments

Can't that be done by setting up custom shortcuts? https://joplin.cozic.net/terminal/#shortcuts

It certainly can. Sorry, I hadn't expected that to be configurable. :)

Just for those that find this ticket later, this is what I landed on to make things a little more vim-like:

~/.config/joplin/keymap.json:

[
    { "keys": ["h"], "type": "function", "command": "focus_previous" },
    { "keys": ["j"], "type": "function", "command": "move_down" },
    { "keys": ["k"], "type": "function", "command": "move_up" },
    { "keys": ["l"], "type": "function", "command": "focus_next" },
    { "keys": ["/"], "type": "prompt", "command": "search \"\"", "cursorPosition": -2 },
    { "keys": ["q"], "type": "exec", "command": "exit" }
]
Was this page helpful?
0 / 5 - 0 ratings

Related issues

laurent22 picture laurent22  路  3Comments

jacobgonzales20 picture jacobgonzales20  路  3Comments

jmcastagnetto picture jmcastagnetto  路  3Comments

Rahulm2310 picture Rahulm2310  路  3Comments

yschutz picture yschutz  路  3Comments