aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-01-21 11:34:56 +0000
committerStephen Blott2015-01-21 12:27:52 +0000
commit0ec38c1050b00845abaa2faa9f56d04c9d2b8992 (patch)
tree9a6c25e2178905a8c094bfbf25c428d129de33fc /background_scripts/commands.coffee
parent6f73864899e1c802fd504dec1dcd1644d513d97d (diff)
downloadvimium-0ec38c1050b00845abaa2faa9f56d04c9d2b8992.tar.bz2
Edit mode: initial framework.
Diffstat (limited to 'background_scripts/commands.coffee')
-rw-r--r--background_scripts/commands.coffee3
1 files changed, 3 insertions, 0 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index 485195a9..f8167042 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -112,6 +112,7 @@ Commands =
"goToRoot",
"enterInsertMode",
"enterVisualMode",
+ "enterEditMode",
"focusInput",
"LinkHints.activateMode",
"LinkHints.activateModeToOpenInNewTab",
@@ -197,6 +198,7 @@ defaultKeyMappings =
"i": "enterInsertMode"
"v": "enterVisualMode"
+ "gv": "enterEditMode"
"H": "goBack"
"L": "goForward"
@@ -286,6 +288,7 @@ commandDescriptions =
enterInsertMode: ["Enter insert mode", { noRepeat: true }]
enterVisualMode: ["Enter visual mode (not yet implemented)", { noRepeat: true }]
+ enterEditMode: ["Enter vim-like edit mode (not yet implemented)", { noRepeat: true }]
focusInput: ["Focus the first text box on the page. Cycle between them using tab",
{ passCountToFunction: true }]