Skip to content

Keyboard shortcut support #1444

@eppfel

Description

@eppfel

A few apps have awesome keyboard shortcuts, which makes it super easy and fast to use nextcloud. I think we should define standards for nextcloud, so the shortcuts are consistent.

Additionally It would be nice to have a current shortcut overview help like github does it.
(Try it by pushing the ? key)
Could this work as an app?


Keyboard shortcuts proposal

Advised general shortcuts

Shortcut Action
r Reload messages / feed
▶︎ / j / n Next item / file
◀︎ / k / p Previous message / item / file
del Delete message
o / enter open Item
q Focus internal search
u Toggle read/unread
s Toggle Star (flag) message
c create item
esc close menu

Items can be mails, files, folders, etc., if not stated otherwise

Shortcuts/combinations that should be avoided

  • Combinations with ctrl and cmd in general
  • and , because of interference with scrolling

Undecided shortcuts from News App

Maybe to special to generalize them

Shortcut Action
e expandItem
i / l toggleStar
h toggleStar && scrollToNextItem
f nextFeed
d previousFeed
c previousFolder
a scrollToActiveNavigationEntry
v nextFolder
shift + a markAllRead

Keybaord shortcuts: actual state

Files App

Shortcut Action
ctrl/cmd + n new folder
ctrl/cmd + shift + n new file
esc close menu (while new file context menu is open)
up/down select file/folder
enter open file/folder
delete/backspace delete file/folder
ctrl/cmd + f focus search field
esc close menu

Mail App

Shortcut Action
r Reload messages
◀︎ Previous message
▶︎ Next message
s Star (flag) message
u Toggle read/unread
del Delete message

News App

Shortcut Action
j / n / ▶︎ scrollToNextItem
k / p / ◀︎ scrollToPreviousItem
u toggleUnread
e expandItem
s / i / l toggleStar
h toggleStar && scrollToNextItem
o openLink
r reloadFeed
f nextFeed
d previousFeed
c previousFolder
a scrollToActiveNavigationEntry
v nextFolder
q Focus search
shift + a markAllRead

Todo:

  • collect the shortcuts that are already available
  • general: improve tabindex
  • general: shortcuts for navigation / menu
    • jump to apps menu
    • jump to sidebar
    • jump to settings menu
    • select menu point (sidebar/apps/settings) with arrow keys
  • add a dedicated page in the documentation
  • files app: add file option (maybe distinct issue)
  • contacts app
  • calendar app [Keyboard support calendar#157]
  • gallery app
  • ?app for a helper listing shortcuts in the current view

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions