Git Product home page Git Product logo

Comments (4)

hgiesel avatar hgiesel commented on July 22, 2024

Can you post the the text that caused it? In the following form:

Text:
Hello w<cursor>orld

Do:
diw

from vim-motion-sickness.

eyalk5 avatar eyalk5 commented on July 22, 2024

Well, I think it happens every time I do ieb.

But just as an example:

 nmap  <C-/> :let g:EasyMotion_add_search_history=1<CR><Plug>(easymotion-sn)

Where ^ is cursor

 nmap  <C-/> :let g:EasyMotion_add_search_history=1<CR><Plug>(eas^ymotion-sn)

And do: cieb

from vim-motion-sickness.

hgiesel avatar hgiesel commented on July 22, 2024

Hm, I can't reproduce the error, but I'll have another look at it.
On another note: ieb is probably not what you want. ieb evaluates to just ab in this context. This is becomes it imitates the dsf from vim-surround or vim-sandwich. what you want is either 1aeb to select g:EasyMotion_add_search_history=1<CR><Plug>(eas^ymotion-sn), or 3ieb, to select <Plug>(eas^ymotion-sn) (3 alternating components of word / nonword characters (also see :h iskeyword)

from vim-motion-sickness.

hgiesel avatar hgiesel commented on July 22, 2024

Okay, I found the issue. I test motion-sickness with the latest neovim release, which currently is 0.3.7. At some point between 0.3.1 (your version) and the current version they must have added support for strings in the count() function. The error will be fixed, if you use the current version (or at least the one which added support for that).

from vim-motion-sickness.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.