Code Monkey home page Code Monkey logo

Comments (5)

wellle avatar wellle commented on May 16, 2024

Yes I see. That is because of the visual mode mappings beginning with A. I will look into it.

from targets.vim.

bear24rw avatar bear24rw commented on May 16, 2024

Is there a use case for having visual mode mappings?

from targets.vim.

wellle avatar wellle commented on May 16, 2024

Well usually all text objects work both in visual and operator pending mode. So you could visually select an area and possible change it before applying your operator. But the visual mode mapping is certainly not as important as the operator pending mode one.

And appending after a visual block mode selection is definitely more important than my mappings. So as a last resort I could just remove the visual mode mapping.

But before I do that I would like to investigate if there is any way to have the mapping only kick in when in visual mode, but not when in visual block mode.

from targets.vim.

wellle avatar wellle commented on May 16, 2024

Unfortunately there doesn't seem to be a way to have a mapping only in visual, but not in visual block mode.

It might be possible to create and delete these mappings every time visual block mode is entered and left, but that seems too dirty in comparison to the gained benefit.

from targets.vim.

wellle avatar wellle commented on May 16, 2024

@bear24rw Thanks to @Raimondi vAn, is now working again while appending with A still works without lag in visual block mode.

from targets.vim.

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.