Giter VIP home page Giter VIP logo

Comments (4)

chaoren avatar chaoren commented on September 16, 2024

Hi, thanks for using the plugin.

Vim's dot operator has a couple of known issues when interacting with custom commands.
This appears to be one of them.

E.g.,
https://github.com/vim/vim/blob/master/runtime/doc/todo.txt#L1494

Using "." to repeat an Ex command puts that command in history.  Probably
should not happen.  If the command is the result of a mapping it's not put in
history either. (Jacob Niehus, 2014 Nov 2)
Patch from Jacob, Nov 2.

All of the mappings used have <silent> on them. If they were missing, you would see the output from the regular ciw.

I'm actually surprised that the extra output is the only thing broken with dot right now. I think I remember [count] on the dot operator not working when I first wrote this plugin.

If you want to file a bug against vim, you can reproduce this with

onoremap <silent>\w :normal w<CR>

Then d\w and repeat it with ..

from vim-wordmotion.

bluz71 avatar bluz71 commented on September 16, 2024

Ok.

Thanks for taking the time with such a comprehensive answer.

Plugin is working with dot, so maybe I should count myself fortunate.

Best regards.

from vim-wordmotion.

daedroza avatar daedroza commented on September 16, 2024

Is there a way I can restore the original behavior of ciw?

from vim-wordmotion.

chaoren avatar chaoren commented on September 16, 2024

I'm not sure what you're talking about. Please create a new issue with examples (what the plugin currently does, what do you expect the plugin to do, etc).

from vim-wordmotion.

Related Issues (20)

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.