From 4935ec9e3955b37f6ad453ebd09ce818357946cc Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 7 Feb 2012 15:37:05 -0800 Subject: [PATCH] No let editor bindings match hidden textarea --- src/atom/editor.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/atom/editor.coffee b/src/atom/editor.coffee index 81ef25b35..32d55efd3 100644 --- a/src/atom/editor.coffee +++ b/src/atom/editor.coffee @@ -33,9 +33,10 @@ class Editor extends View @buildCursorAndSelection() @handleEvents() @setBuffer(new Buffer) + new (require('vim-mode'))(this) bindKeys: -> - atom.bindKeys '*', + atom.bindKeys '*:not(.editor *)', right: 'move-right' left: 'move-left' down: 'move-down'