Comments (6)
The correct syntax is (the whole file):
:%s/foo/bar/g
Or (only the current line):
:s/foo/bar/g
from vintageex.
As weslly says, currently the trailing separator is needed, even if you're not using flags, but this is inconsistent with Vim.
from vintageex.
Ahh, thank you for the correction. Do you happen to know what it would take to eliminate the need for the trailing separator and flag?
from vintageex.
I'll have to revise this command:
https://github.com/SublimeText/VintageEx/blob/master/ex_commands.py#L415
from vintageex.
(Please don't close this issue as it's really a defect.)
from vintageex.
Fixed in 8a8ff59
from vintageex.
Related Issues (20)
- :files command won't select unsaved buffers after restarting sublime text
- create/update Preferences.sublime-settings files
- pipe through shell does not seem to work HOT 7
- '<,'> won't cherry-pick selected ranges only, but lump into the range every line in between too
- Vintage's "*" and "#" are not repeatable anymore HOT 2
- selectively treat contiguous line ranges as blocks/separate lines HOT 1
- :copy and :move commands - address 0 and 1 do not work as expected
- :delete command should put deleted text to unnamed register
- Put after :delete and :yank commands appends text to the current line
- Error at startup HOT 4
- ":" not working in CSS syntax HOT 3
- no history for search panel?
- Map ; key to : HOT 3
- can't indent multiple lines using n> in visual mode HOT 2
- Advanced search HOT 1
- Regex escape characters missing in substitute
- :sh not working HOT 1
- Make search with '/' act like in vim, e.g. as movement command HOT 1
- SublimeText 3 support HOT 1
- Please add support to Sublime Text 3 HOT 3
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 vintageex.