mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
In vim command-mode, only eat insertion keys, not other modifiers
This commit is contained in:
@@ -18,9 +18,9 @@ class VimMode
|
||||
|
||||
setupCommandMode: ->
|
||||
atom.bindKeys '.command-mode', (e) ->
|
||||
if e.keystroke.match /\d/
|
||||
if e.keystroke.match /^\d$/
|
||||
return 'command-mode:numeric-prefix'
|
||||
if e.keystroke.match /./
|
||||
if e.keystroke.match /^.$/
|
||||
return false
|
||||
|
||||
@bindCommandModeKeys
|
||||
|
||||
Reference in New Issue
Block a user