aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-01-22 16:50:58 +0000
committerStephen Blott2015-01-23 09:53:49 +0000
commit256beee031efef70f4ee750044d9e697d66868bd (patch)
tree851b8aa8abdb3b5875d5caa52166d83f13ca89b8 /background_scripts/commands.coffee
parenteefe8c29b2410119412984301eba8c66dffda059 (diff)
downloadvimium-256beee031efef70f4ee750044d9e697d66868bd.tar.bz2
Visual/edit modes: develop edit mode.
- implement "i", "a". - fix "w" for edit mode. - try out "e" for enter edit mode. - initial implementation "o", "O" - Suppress backspace and delete. - Scroll in text areas.
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 f8167042..f79f495b 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -198,7 +198,10 @@ defaultKeyMappings =
"i": "enterInsertMode"
"v": "enterVisualMode"
+ # NOTE(smblott). We'll try two default bindings for enterEditMode, and see which ends up feeling mode
+ # natural.
"gv": "enterEditMode"
+ "e": "enterEditMode"
"H": "goBack"
"L": "goForward"