Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #518840
| From | owl <owl@rooftop.invalid> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: Ping: VIMmaster 2000 (owl) |
| Date | 2019-07-17 16:19 +0000 |
| Organization | O.W.L. |
| Message-ID | <hfus999bab.3h3o@rooftop.invalid> (permalink) |
| References | (5 earlier) <fg90z009bzb.aj3@rooftop.invalid> <60d3c78f-99a0-49f5-939c-22c22ff2bb47@googlegroups.com> <szb80003gg.ago4@rooftop.invalid> <qgnca7$lrm$1@dont-email.me> <33e40e37-57aa-4f77-a23a-7facea5f1c93@googlegroups.com> |
Steve Carroll <fretwizzer@gmail.com> wrote:
> On Wednesday, July 17, 2019 at 8:45:30 AM UTC-6, Steve Carroll wrote:
>> On 2019-07-11, owl <owl@rooftop.invalid> wrote:
>> > Steve Carroll <fretwizzer@gmail.com> wrote:
>> >> On Thursday, July 11, 2019 at 10:40:47 AM UTC-6, owl wrote:
>> >>> Steve Carroll <fretwizzer@gmail.com> wrote:
>> >>> > On Thursday, July 11, 2019 at 10:09:22 AM UTC-6, owl wrote:
>> >>> >> Steve Carroll <fretwizzer@gmail.com> wrote:
>> >>> >> > On Thursday, July 11, 2019 at 9:42:18 AM UTC-6, owl wrote:
>> >>> >> >> Steve Carroll <fretwizzer@gmail.com> wrote:
>> >>> >> >> > You may not know this 'cuz I'm on OS X but I'm trying to find the
>> >>> >> >> > location of a file that was last saved in Vim in response to a mail
>> >>> >> >> > reply on usenet (I hit 'r' instead of 'f'). I've looked in locations that
>> >>> >> >> > OS X might store such things, no luck. A cooler solution would be
>> >>> >> >> > if Vim could bring up 'recent' files so I can choose the one I want
>> >>> >> >> > but even the 'last' saved temp file would work. I've never opened
>> >>> >> >> > a file in Vim that I didn't know the name. If you reply...
>> >>> >> >> >
>> >>> >> >> > <https://www.youtube.com/watch?v=BTbL88Dam2E>
>> >>> >> >> >
>> >>> >> >> > ;)
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> :bro ol
>> >>> >> >> (short for ":browse oldfiles")
>> >>> >> >>
>> >>> >> >> That should work for most files you edit, but I'm not sure if it
>> >>> >> >> will work with vim as an integrated editor for your newsreader.
>> >>> >> >> I use vim with tin newsreader, and .article.NNN files don't show up
>> >>> >> >> as recently edited files with :bro ol. YMMV.
>> >>> >> >>
>> >>> >> >> Where does your newsreader store saved articles?
>> >>> >> >
>> >>> >> > I found it loose in my home directory (I should probably fix that).
>> >>> >> > When using Vim as the editor for slrn, how do I open it to reply
>> >>> >> > with?
>> >>> >>
>> >>> >> I don't use slrn, so I can't help you there. In tin, it just opens
>> >>> >> automatically when I type 'f' for followup.
>> >>> >
>> >>> > It only works the same way it does by reading a file in ('r') when
>> >>> > you're not using it via slrn. I was sorta hoping there was a way to
>> >>> > bring it back to the state you last had it in but it just prepends
>> >>> > the entire post into your reply. At least, it did that from a saved
>> >>> > 'Mail' letter into a post, not sure the same would be true if it was
>> >>> > from a 'Followup' using a pre-saved file.
>> >>>
>> >>> 'r' and 'f' in the tin sense are for 'reply' (by mail) and 'followup'
>> >>> (article).
>> >>
>> >> Same for slrn.
>> >>
>> >>> Instead of :r <file> to read in a whole file into vim, you can
>> >>> :r! sed -n 10,20p <file> to read in just lines 10 through 20.
>> >>>
>> >>> You can get the line numbers with
>> >>> :!cat -n <file>
>> >>
>> >> I don't know why I think this stuff is so disconnected once I get in Vim.
>> >> Thanks for that!
>> >>
>> >
>> > You can also split your window, open the file, yank whatever from that file,
>> > and paste it into your post.
>>
>> On a related note, one thing that I noticed is, if copy material into a post it blows out the auto-wrap (like it's doing right now on my screen... and probably will when posted).
>
> And it did. I accidentally suspended slrn recently and couldn't figure
> out how to unsuspend it (Ctrl-Z doesn't toggle).
anon@lowtide:~$ jobs
[1]+ Stopped slrn
anon@lowtide:~$ fg 1
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-11 08:03 -0700
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-11 08:09 -0700
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <frelwizzen@gmail.com> - 2019-07-11 08:26 -0700
Re: Ping: VIMmaster 2000 (owl) owl <owl@rooftop.invalid> - 2019-07-11 15:42 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <frelwizzen@gmail.com> - 2019-07-11 08:57 -0700
Re: Ping: VIMmaster 2000 (owl) owl <owl@rooftop.invalid> - 2019-07-11 16:00 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-11 09:05 -0700
Re: Ping: VIMmaster 2000 (owl) owl <owl@rooftop.invalid> - 2019-07-11 16:16 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-11 09:27 -0700
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-11 09:00 -0700
Re: Ping: VIMmaster 2000 (owl) owl <owl@rooftop.invalid> - 2019-07-11 16:09 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-11 09:25 -0700
Re: Ping: VIMmaster 2000 (owl) owl <owl@rooftop.invalid> - 2019-07-11 16:40 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-11 09:49 -0700
Re: Ping: VIMmaster 2000 (owl) owl <owl@rooftop.invalid> - 2019-07-11 16:57 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <"Steve Carroll"@noSPAM.none> - 2019-07-17 14:45 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-17 07:49 -0700
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <frelwizzen@gmail.com> - 2019-07-17 08:47 -0700
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <frelwizzen@gmail.com> - 2019-07-17 10:18 -0700
Re: Ping: VIMmaster 2000 (owl) owl <owl@rooftop.invalid> - 2019-07-17 16:19 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <frelwizzen@gmail.com> - 2019-07-17 08:01 -0700
Re: Ping: VIMmaster 2000 (owl) owl <owl@rooftop.invalid> - 2019-07-17 16:16 +0000
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <fretwizzer@gmail.com> - 2019-07-17 11:13 -0700
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <frelwizzen@gmail.com> - 2019-07-17 11:35 -0700
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <frelwizzen@gmail.com> - 2019-07-11 10:13 -0700
Re: Ping: VIMmaster 2000 (owl) Steve Carroll <frelwizzen@gmail.com> - 2019-07-11 09:27 -0700
csiph-web