AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
58.2k stars 3.83k forks source link

[FR] Vim-like Bindings/Movements #3576

Open Sharkitty opened 1 year ago

Sharkitty commented 1 year ago

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:

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.

griff-rees commented 1 year ago

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

annieappflowy commented 1 year ago

@Sharkitty , have you tried customizing your keybindings through our shortcut menu:

image

You can change the default shortcuts to your preference.

Sharkitty commented 1 year ago

@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.

rileyhawk1417 commented 1 year ago

@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...

mrtolkien commented 1 year ago

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.

PeterHero commented 10 months ago

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.