Code Monkey home page Code Monkey logo

Comments (11)

gbprod avatar gbprod commented on June 8, 2024 1

Introduce highlight_substituted_text option #57

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

Since b5c058d keymaps have changed, you don't need anymore to add g@... after some mappings.

visual method also appeared to substitute visual selection.

All is repeatable without needing tpope/vim-repeat plugin.

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

New option for range substitution : complete_word to match words with boundaries.
require('substitute.range').word() sets this option to true by default. cf f6d101e

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

Now, this will work with blockwise visual selected text !
Huge refactoring but no BC !

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

Introduce range.motion1 and range.motion2 options : https://github.com/gbprod/substitute.nvim#rangemotion1

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

Introduce (experimental) exchange operator ! 🎉

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

Think this plugin is now quite stable. I need to fix compatibility with my next plugin https://github.com/gbprod/yanky.nvim and next I'll release it as stable.
If you have any bugs, feel free to submit an issue.

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024
  • feat(substitute): allow to set register and count as operator option by @gbprod in #27
  • feat(range): introduce register management for range replacement by @gbprod in #28
  • feat(range): introduce group_substituted_text option by @gbprod in #30
  • fix(range): use config for matchadd and add suffix option by @gbprod in #31

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

Breaking change : drop Neovim 0.6.0 support with #32
Use 0.6-compat branch for backward compatibility.

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

Big refactoring, please report any bugs or unexpected behaviors :)

from substitute.nvim.

gbprod avatar gbprod commented on June 8, 2024

You can now use <Esc> to cancel exchange.
You can disable it using exchange.use_esc_to_cancel option.

from substitute.nvim.

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.