Skip to content

Switching frames resets configuration mappings and styles to defaults. #2252

@prss-ad

Description

@prss-ad

Error details

When you switch/cycle frames, the configuration is reset. All customization is lost, mappings and styles.

As a test put this as custom advanced configuration:

api.mapkey('<Ctrl-y>', 'Show me the money', function() {
    Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
});

api.mapkey('I', 'not vim editor', function() {
    Front.showPopup('hello');
});

Bindings will show up under 'misc.' .
But once you switched to different frame, they are lost , and original mappings are shown.
Same happens for styles, hint styles for example.

I would expect my configuration to remain in place.

Environment

SurfingKeys: 1.17.7

Tested on latest chromium and brave browsers.

URL examples with frames:

The chat list: https://www.youtube.com/watch?v=Mfla9nAdTuU

A video middle of page:
https://linkarzu.com/posts/neovim/images-neovim/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions