AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[FR] Vim-like Bindings/Movements

Open Sharkitty opened this issue 1 year ago • 6 comments

Description

Adding a Vim-like bindings option to allow more powerful keyboard focused controls, and easier use for Vim and Neovim users (or anyone using these controls in other softwares).

This should, in my opinion, be disabled by default, as most users aren't familiar with Vim-like bindings, but be available as an option (probably in the Shortcuts settings?).

Impact

This would be beneficial for:

  • Vim/Neovim users who want to use AppFlowy.
  • Anyone used to Vim-like bindings integrated in other apps.
  • Anyone who wants a powerful keyboard focused workflow.

Additional Context

As someone who mainly works using Neovim, having to edit text without these controls feels awkward and slow to me. I really like what AppFlowy proposes, but my experience would be much better if I had the ability to choose what controls I'm comfortable with, i.e. vim-like bindings. I think this must be a common use case, as I see other applications doing exactly that, either as a plugin, or a feature within the app.

Sharkitty avatar Oct 02 '23 11:10 Sharkitty

See https://github.com/AppFlowy-IO/AppFlowy/issues/3576

griff-rees avatar Oct 08 '23 06:10 griff-rees

@Sharkitty , have you tried customizing your keybindings through our shortcut menu: image You can change the default shortcuts to your preference.

annieappflowy avatar Oct 13 '23 02:10 annieappflowy

@Sharkitty , have you tried customizing your keybindings through our shortcut menu: image You can change the default shortcuts to your preference.

I'm aware of that, but vim bindings work very differently, so this would not provide the expected behavior.

Sharkitty avatar Oct 13 '23 08:10 Sharkitty

@Sharkitty I think this would need to be done within the editor. Which is a separate component of AppFlowy. I did have some luck in getting the h, j, k, l keys working on my own fork of AppFlowy Editor. As for the extra Vim like keys well it just needs some research...

rileyhawk1417 avatar Nov 10 '23 15:11 rileyhawk1417

Having good normal mode navigation would be great for keyboard-centric workflows!

I've been missing that in every knowledge I've tried so far (Notion, Obsidian, Loqseq, ...), and that usually makes it pretty hard to properly organize information.

mrtolkien avatar Nov 11 '23 00:11 mrtolkien

This issue is a duplicate of #284 which was added to the roadmap recently. You can watch progress on this feature there. I suggest closing this issue as duplicate.

PeterHero avatar Dec 30 '23 18:12 PeterHero