easymotion / vim-easymotion

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

Easymotion crashes NeoVim #507

Open synic opened 5 months ago

synic commented 5 months ago

This is my lazy.nvim configuration for easymotion:

    {
        "Lokaltog/vim-easymotion",
        init = function()
            vim.g.EasyMotion_smartcase = true
            vim.g.EasyMotion_do_mapping = false
            vim.g.EasyMotion_inc_highlight = false
            vim.g.EasyMotion_disable_two_key_combo = true
            vim.g.EasyMotion_keys = "abcdefhjkmnoprstuvwxyz;"
        end,
        keys = {
            { "<leader><leader>", "<plug>(easymotion-overwin-f)", desc = "Jump to location", mode = "n" },
            { "<leader><leader>", "<plug>(easymotion-bd-f)", desc = "Jump to location", mode = "v" },
        },
    },

My NeoVim version is: v0.10.0-dev-2786+gb3f9da952, though this happens with 0.9 as well.

I mostly just use <space><space> and then a character to jump anywhere in neovim, even across windows. However, sometimes when I press the target key, neovim just crashes immediately.

I have not determined exactly what causes this. It seems to be random, but more often when there's more than one split window visible.

synic commented 5 months ago

Oh wow, I just realized I haven't updated the repository from Lokaltog. I'll try that to see if it helps.

synic commented 5 months ago

Nope, that definitely did not help.