Skip to content
This repository was archived by the owner on Mar 5, 2020. It is now read-only.
This repository was archived by the owner on Mar 5, 2020. It is now read-only.

Plugin interferes with <cr> pumvisible() ? maps #43

Open
@karoliskoncevicius

Description

@karoliskoncevicius

This line: https://github.com/joereynolds/vim-minisnip/blob/master/plugin/minisnip.vim#L46 seems to interfere with a map that makes <enter> key select completions:

inoremap <expr> <cr> pumvisible() ? "\<c-y>" : "\<cr>"

Managed to find it and add a custom map to <Plug>(minisnip-complete) in order to disable the effect. But it took some time and probably could potentially confuse users.

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