+
Skip to content

Provide more actions for binding to keyboard shortcuts #72

@marcora

Description

@marcora

It would be great to have more actions available for binding to keyboard shortcuts. Also, it would be nice to have a drop down to select among a few common keybinding schemes, e.g., Vim-like or Emacs/Bash-like.

For the latter, as an example, selecting the "Emacs/Bash-like" scheme from the dropdown would set the following actions to the following keyboard shortcuts:

CTRL+A / CTRL+E | Go to the start/end of the line
CTRL+U / CTRL+K | Delete from cursor to the start/end of the line
CTRL+W / ALT+D | Delete from cursor to start/end of word (whole word if at the boundary)
CTRL+X | Cut whole line and add to clipboard
CTRL+C | Copy whole line to clipboard
CTRL-V | Paste (insert) whole line from clipboard
CTRL-Y | Paste (replace) whole line from clipboard
CTRL+F / CTRL+B | Move forward/backward one character
META+F / META+B Move forward/backward one word (or go to start of word the cursor is currently on)
CTRL+D / CTRL+H | Delete character after/before under cursor
CTRL+N / CTRL+P | Move to next/previous line
CTRL+L | Delete everything

WIth META being Apple key on MacOS or Meta key on Windows/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载