Skip to content

Mappings stop working once I hit the end/beginning of the file #35

@hasufell

Description

@hasufell

Config is

let g:submode_always_show_submode = 1
call submode#enter_with('nav', 'n', '', '<C-up>')
call submode#map('nav', 'n', '', 'e', '6j')
call submode#map('nav', 'n', '', 'o', '6k')
call submode#map('nav', 'n', '', 'n', 'B')
call submode#map('nav', 'n', '', 'i', 'W')

I can enter the submode successfully and navigate. Once the cursor hits the end or beginning of the file (or rather: tries to move past it), the mappings stop working, but I'm still inside the submode.

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