Code Monkey home page Code Monkey logo

vim-pairs's People

Contributors

kurkale6ka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sisrfeng sartak

vim-pairs's Issues

`i_` and `a_` can be improved

one_two_three

a_ only match _two_

but i think it's useful to have a text_objects to match both one_,_two_and_three

e.g.
on[]e_two_three
ci_ become _two_three
ca_ become two_three

and aliases like iu,and au is convenient to type.

Allow selecting which pairs get mapped

Hi kurkale6ka, vim-pairs is exactly what I was looking for in my life :)

However, I already use some more specialized plugins for some of the mappings:

vim-swap: i, a, etc: text object for list elements (like function parameters), in particular it goes out of its way to handle nested lists
vim-space: i<Space> etc: text object for whitespace around the cursor

Would you consider adding config settings for letting me select which pairs get mapped?

Thanks!

Support ‘curly’ quotes

Vim supports the entry of curly quotes via digraphs, such as <Ctrl-K>"6 <Ctrl-K>"9 to enter left and right double-curly quotes, respectively, while in insert mode.

While not very useful for coding, curly quotes can be useful in writing documentation.

Is it feasible to support these curly quotes as punctuation objects in vim-pairs, where ciq would recognize them?

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.