Skip to content

Cursor doesn't update (in Normal mode) when using vim-wordmotion #50

@xkocahete

Description

@xkocahete

Check if applicable

  • I have searched the existing issues (required)
  • I reproduced the issue with an empty Neovim configuration (init.vim or init.lua)
  • I'm willing to help fix the problem and contribute a pull request

Describe the bug

The cursor is not updated, but the motion happens, i.e. any further interactions would take place as if the cursor were it was supposed to be. The issue does not happen in Visual mode.

How to reproduce?

  1. Open any swift file
  2. Go to normal mode
  3. Find a word benefiting from the vim plugin, such as "CamelCaseACRONYMWords_underscore1234"
  4. Move within the word with word motions: w, b, e
  5. Cursor doesn't redraw

Neovim configuration

call plug#begin('~/.local/share/nvim/plugged')
Plug 'chaoren/vim-wordmotion'
call plug#end()

Environment

ShadowVim 0.2.0 (3)

$ sw_vers -productVersion
13.3.1

$ uname -m
arm64

$ whereis nvim
nvim: /opt/homebrew/bin/nvim /opt/homebrew/share/man/man1/nvim.1

$ nvim --version
NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.0/share/nvim"

Run :checkhealth for more info

$ xcodebuild -version
Xcode 14.3
Build version 14E222b

$ defaults read -app Xcode KeyBindingsMode
Default

$ defaults read -app Xcode DVTTextAutoCloseBlockComment
exit status: 1

$ defaults read -app Xcode DVTTextAutoInsertCloseBrace
exit status: 1

$ defaults read -app Xcode DVTTextEditorTrimTrailingWhitespace
0

$ defaults read -app Xcode DVTTextEnableTypeOverCompletions
1

$ defaults read -app Xcode DVTTextIndentCaseInC
0

$ defaults read -app Xcode DVTTextUsesSyntaxAwareIndenting
exit status: 1

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