ultisnips icon indicating copy to clipboard operation
ultisnips copied to clipboard

Enabling the plugin adds a delay when left-shifting in visual mode

Open farzadmf opened this issue 3 years ago • 0 comments

Expected behavior: In visual mode, when I press < to left-shift lines, it should be instantaneous

Actual behavior: When I enable ultisnips, when I press <, there's a delay and then my lines are left-shifted

Steps to reproduce I have a LOT of plugins for my neovim, so this might be a conflict or something with another plugin, but when I enable ultisnips in my vimplug file, I see the delay and if I remove it (and clean the plugins), I don't see the delay

As mentioned above, since I have a lot of settings in my vimrc, I don't know how to create a minimal one that allows reproducing the bug; I would really appreciate if you help me troubleshoot what's causing the problem.

My right-shift using > has no delay, and when I run :verbose map >, I see No mapping found But when I do :verbose map <, I see:

x  <nop>       * :call UltiSnips#SaveLastVisualSelection()<CR>gvs
        Last set from ~/.vim/plugged/ultisnips/autoload/UltiSnips/map_keys.vim line 64
s  <nop>       * <Esc>:call UltiSnips#ExpandSnippet()<CR>
        Last set from ~/.vim/plugged/ultisnips/autoload/UltiSnips/map_keys.vim line 62

When I disable ultisnips, I see the same message No mapping found

Sorry if the information I provided is not enough, but I'd appreciate your help to solve the issue (and I hope you don't ignore the issue because I didn't have a vimrc 🙏)


  • Operating System: Manjaro Linux
  • Vim Version: NVIM v0.4.4
    Build type: Release
  • UltiSnips Version: 7941f98337564d4e86cf2b7467b64def4d212794
  • Python inside Vim: py doesn't work and result for py3: `3.8.5 (default, Sep 7 2020, 18:23:36)
  • Docker repo/vimrc:

farzadmf avatar Sep 09 '20 05:09 farzadmf