On Friday, May 19, 2017 at 9:11:16 AM UTC-5, Patrick Eigensatz wrote: > Hi everybody! > > > I use vim on a daily basis at work but also at home and I think as I write > this e-mail anyway, it would be a good place to thank you for all the effort > you put in it all the time! Thanks! > > > > Now, as I stated, I use vim quite often but I wouldn't call me a vim > professional. I found myself a few times in the following situation: > > I started hacking around on a configuration file when suddenly I noticed I > really messed up a section inside the file. Now either I invoke the ":edit" > command > > where I lose all the "useful work" around the section, or I try to :u-ndo > until the few lines are in an original state again, losing all the "good > work" that I had done > > after messing up the section. I usually end up opening a second editor > copying the original lines into the editor again, deleting my modification on > those lines. > > I probably don't have to mention how tedious this is, especially if you're > inside an ssh connection... > > > > My questions: Is there a command I missed to reload only a single / a few > lines from the disk again? Would you consider such a feature useful for > yourself? > > And what would you be an appropriate command for this function? > > > I'm looking forward hearing your ideas and comments on this! > >
I would probably not use this feature, because the :DiffOrig command distributed in defaults.vim file meets all my needs in this area. -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
