From e975633f3ee8da9e01c332b2dcdb8422d5f941d8 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 26 Jan 2016 14:19:32 +0000 Subject: Enable edit mode. This re-enables edit-mode (`gv`). The code for this has been present in `master` for quite some time, but has been disabled. --- README.md | 1 + background_scripts/commands.coffee | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fe3475be..3e409f92 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,7 @@ Release Notes ------------- Next version (not yet released) +- Edit mode for text inputs (including GMail): `gv` (beta feature). - Bug fixes: - Fix endless scrolling (#1911). diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index c8121a96..5dfd5259 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -98,7 +98,7 @@ Commands = "enterInsertMode", "enterVisualMode", "enterVisualLineMode", - # "enterEditMode", + "enterEditMode", "focusInput", "LinkHints.activateMode", "LinkHints.activateModeToOpenInNewTab", @@ -187,7 +187,7 @@ defaultKeyMappings = "i": "enterInsertMode" "v": "enterVisualMode" "V": "enterVisualLineMode" - # "gv": "enterEditMode" + "gv": "enterEditMode" "H": "goBack" "L": "goForward" @@ -279,7 +279,7 @@ commandDescriptions = enterInsertMode: ["Enter insert mode", { noRepeat: true }] enterVisualMode: ["Enter visual mode", { noRepeat: true }] enterVisualLineMode: ["Enter visual line mode", { noRepeat: true }] - # enterEditMode: ["Enter vim-like edit mode (not yet implemented)", { noRepeat: true }] + enterEditMode: ["Enter vim-like edit mode (beta feature)", { noRepeat: true }] focusInput: ["Focus the first text box on the page. Cycle between them using tab", { passCountToFunction: true }] -- cgit v1.2.3