t9md / atom-vim-mode-plus-ex-mode

Experiment to implement ex-mode for vim-mode-plus
https://atom.io/packages/vim-mode-plus-ex-mode
MIT License
30 stars 11 forks source link

Default keybinding? #11

Closed trusktr closed 8 years ago

trusktr commented 8 years ago

Why not have a default keybinding with a checkbox to enable/disable?

t9md commented 8 years ago

I can't understand what is your point, sorry.

trusktr commented 8 years ago

I've added the keybinding, but the resolver shows nothing:

screen shot 2016-06-10 at 5 52 04 pm

Any ideas what to check?

t9md commented 8 years ago

Ah, got it for original your comment, yes I think I'm OK to provide default keybinding for :, will do in next release.

But for next question why your keymap not working is not sure, strange. Both : and ! not work? Can you insert : and ! without problem in insert-mode. If so, when you type : in normal-mode, keymap resolver should say vim-mode-plus-ex-mode:open.

trusktr commented 8 years ago

Both : and ! not work?

Yep, both not working.

Can you insert : and ! without problem in insert-mode.

Yeah, that works fine.

If so, when you type : in normal-mode, keymap resolver should say vim-mode-plus-ex-mode:open.

The resolver shows empty:

screen shot 2016-06-12 at 11 36 04 am

t9md commented 8 years ago

This is same issue I explained you in vim-mode-plus's issue. You need to understand Atom's keymap system. Not my issue. Don't use same scope twice in keymap.cson.

trusktr commented 8 years ago

Ah, thanks. It works now. And now I know: cson is exactly like json (with alternate syntax). I have zero Coffee experience.

t9md commented 8 years ago

If so, you first read Atom's flight manual(in official page), I don't want to spend my time by explaining basic Atom concept, feature.