Skip to content

Aerojump taints the jump list #11

@m-pilia

Description

@m-pilia

Hi! Thanks for sharing this plugin, I love the concept and it looks really promising! However, I think there is a problem with some (probably unintentional) side effects.

Using the plugin adds spurious entries to the jump list. The effect is evident when launching a search and then interrupting it without jumping nor inserting any character. Ideally, the jump list should be unaltered, but it is not. The problem is the usage inside the plugin of commands that have the unwanted side effect of adding an entry to the jump list.

Moreover, the call to normal! H in the function Aerojump() can cause an annoying scroll of the buffer when starting a search (the effect is prominent e.g. if the user has scrolloff set to a high value, or for people that keep the cursor in the middle of the screen).

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