easymotion / vim-easymotion

Vim motions on speed!
http://www.vim.org/scripts/script.php?script_id=3526
7.44k stars 357 forks source link

Incorrect hint characters with non-ascii motion keys and easymotion-overwin-f #461

Open maxigaz opened 3 years ago

maxigaz commented 3 years ago

It looks like #16 may have addressed this in general, but not for easymotion-overwin-f.

To reproduce:

  1. Add the following to your vimrc/init.vim:

    nmap <F2> <Plug>(easymotion-overwin-f)
    let g:EasyMotion_keys = 'asdfhjkqweruiopyxcvbnmlé'
  2. Create a new file
  3. Copy and paste the following Lorem ipsum several times:

    Lorem ipsum dolor sit amet, consectetur adipisicing elit

  4. Invoke easymotion-overwin-f and search for t.

Here's a screenshot of the results (notice especially the hint characters à and © in the last few lines):

nvim-easymotion-overwin-f

Here's how it should look like. (This is the same text, but this time easymotion-s is invoked.)

nvim-easymotion-s

Tested with Neovim v0.4.4 and EasyMotion installed through Plug 'easymotion/vim-easymotion'.