Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

<C-U> in <Plug> mappings breaking things #64

@nathanbraun

Description

@nathanbraun

Hi there, I have : remapped to q:i, in order to view my entire command history anytime I enter command mode (see: https://vim.fandom.com/wiki/Using_command-line_history)

But now when I try to use any of the mappings in neuron.vim, the before every mapping deletes my current command line and merges it with the one before it. This means it'll call something like:

xacall neuron#edit_zettel_new()

Because xa was the command I entered previously. I might fork the plugin and just remove the mappings in plugin/neuron.vim but was wondering if there was a more general solution. I haven't run into this before. I was able to find this re: why some mappings include C-U but it's unclear to me if they're necessary here:

https://stackoverflow.com/questions/13830874/why-do-some-vim-mappings-include-c-u-after-a-colon

Thanks for the great work!

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