1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-26 16:36:49 +03:00
This commit is contained in:
Andrea D'Amore 2017-03-12 18:07:22 +01:00 committed by GitHub
parent 47ba9fa5b7
commit 19268b4fa6

View File

@ -617,7 +617,7 @@ are not just one additional feature, it is the central way of interacting
with your text. For example there is no such thing as a "global replace" in
Kakoune. What you would do is select the whole buffer with the <code>%</code> command,
then select all matches for a regex in the current selections (that is the
whole buffer herer) with the <code>s</code> command, which prompts for a regex. You would
whole buffer here) with the <code>s</code> command, which prompts for a regex. You would
end up with one selection for each match of your regex and use the insert
mode to do your change. Globally replacing foo with bar would be done with
<code>%sfoo&lt;ret&gt;cbar&lt;esc&gt;</code> which is just the combination of basic building blocks.</p>
@ -920,4 +920,4 @@ Last updated 2016-12-14 01:10:35 GMT
</div>
</div>
</body>
</html>
</html>