Re: New Line Criteria ?

Stan Brown <[email protected]> Mon, 13 Apr 2026 19:05:33 -0700
Newsgroups gmane.editors.vim
Message-ID <[email protected]>
On 2026-04-13 14:28, 'Paul' via vim_use wrote:
> On Mon, Mar 30, 2026 at 01:43:23PM -0700, Christopher wrote:
>> How do I get vim to show a file to display for example where there is
>> */bin:* place it on a new line but revert back to how it was before the
>> file was loaded into vim ?
> 
> Put all "/bin:"s on a new line: :%s/\/bin:/\r&/g
> Revert (if simply undoing (u) isn't enough): :e!

Or, if you don't intend to do any other edits that you'll want to save:
:q!
That quits Vim without saving your edited version of the file.

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/bd43b933-22f6-4701-8959-a0888d8dcd4a%40fastmail.fm.