Comments (11)
Introduce highlight_substituted_text
option #57
from substitute.nvim.
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.
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.
Now, this will work with blockwise visual selected text !
Huge refactoring but no BC !
from substitute.nvim.
Introduce range.motion1
and range.motion2
options : https://github.com/gbprod/substitute.nvim#rangemotion1
from substitute.nvim.
Introduce (experimental) exchange operator !
from substitute.nvim.
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.
- 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.
Breaking change : drop Neovim 0.6.0 support with #32
Use 0.6-compat branch for backward compatibility.
from substitute.nvim.
Big refactoring, please report any bugs or unexpected behaviors :)
from substitute.nvim.
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)
- [Bug] Ranged highlight only highlights the previously used range. HOT 3
- Introduce Plug keymap HOT 1
- [Feature Request] Do not save substitutions in call history HOT 1
- Cross buffer exchange
- vim.highlight.link is deprecated
- Making escape work to cancel exchange action HOT 3
- Linewise substitute ?
- Can show a gif HOT 3
- `<Esc>` bug, and custom `<Esc>` mapping is removed HOT 3
- How is integration with yanky supposed to be set up? HOT 5
- Feature Suggestion: Duplication Operator HOT 2
- keep cursor at positon before operation HOT 2
- Question about integration with `yanky.nvim` HOT 5
- Issue with ` key remapped HOT 3
- `motion2` isn't working with `substitute.range` HOT 2
- trim when substituting into not-linewise text object HOT 5
- For substitute.range, is there a way to provide a register or even a lua callback to replace motion1 or motion2? HOT 4
- Broken install/Substitute over range HOT 2
- Error 'start' is higher than 'end' HOT 13
- attempt to index field 'highlight_substituted_text' (a nil value) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from substitute.nvim.