Skip to content

Remap with Mode works too sensitive #257

Description

@efirlus

Please Review Before Posting!

  • I checked that the bug does not happen in the CodeMirror Vim demo. If it does, please report it there and not here.
  • I'm reasonably sure that this bug is indeed about the Vimrc file support and not a general Vim in Obsidian issue. If it's a general Vim issue, report it here.

Describe the bug:

A clear and concise description of what the bug is.

for example, this map is not works, because mode is changed when the first key is pressed
nmap vv <C-v> " visual-block mode with vv in normal mode, I am using it with neovim

this is work, because it's already inside v-mode
vmap v <C-v>

this 'too fast mode change' can be problem for this keymap also I using in neovim
nmap vl <S-v> "visual-line mode with vl in normal mode

there are no timeoutlen in obsidian vimrc, so i can not handle this problem

To Reproduce:

Steps to reproduce the behavior:

you can just add that map and test

Environment (please complete the following information):

  • OS: windows 11
  • Vimrc plugin version: 0.10.2

Additional context:

Add any other context about the problem here.

other things are good enough.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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