Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost configuration #9

Closed
xcv58 opened this issue Oct 29, 2015 · 3 comments
Closed

Lost configuration #9

xcv58 opened this issue Oct 29, 2015 · 3 comments

Comments

@xcv58
Copy link

xcv58 commented Oct 29, 2015

I believe when the extension update, my configuration lost. Both local and sync.

@brookhong
Copy link
Owner

Sincerely sorry about that.

Yes, 0.2.0 made a big change to split default mappings from settings, so that user defined mappings can be preserved after extension upgraded.

The change is to avoid user's customization on mappings everytime after extension upgraded.

The default mappings are always created, so from now on, we need not keep default mappings in our own mappings, we just need to create customized mappings in settings.

  • Create new mappings with mapkey as before, for example

    mapkey('c-y', 'Show me the money', function() {
        alert('a well-known phrase uttered by characters in the 1996 film Jerry Maguire');
    });
    
  • Change keystroke for existing mappings with map, for example

    map('?', 'u');
    
  • Remove existing mappings with unmap, for example

    unmap('c-i');
    

@xcv58
Copy link
Author

xcv58 commented Oct 29, 2015

Cool, thanks.

Another issue is that space shortcut is conflict with play/pause in some video player.

@brookhong
Copy link
Owner

space changed to T in default mappings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants