Re: vim scp and a local swap file

2017-02-06 Thread Gary Johnson
On 2017-02-06, Gary Johnson wrote: > On 2017-02-06, Charles E Campbell wrote: > > Neil Watson wrote: > > > Greetings, > > > > > > The other day I was editing a remote file via scp when my client machine > > > crashed. Had the file been local there would have been a swap file to > > > recover > >

Re: Channel callbacks randomly fail to fire in Vim for win32

2017-02-06 Thread Bram Moolenaar
Kay Zheng wrote: > I did some research on the channel code, and if I read it right, > there's an issue in channel_fill(...). > > AFAIK, a channel in JSON mode works like this: > > 1. When a network message arrives, it tries to parse a complete JSON object. > 2. If there were a complete JSON

Re: vim scp and a local swap file

2017-02-06 Thread Gary Johnson
On 2017-02-06, Charles E Campbell wrote: > Neil Watson wrote: > > Greetings, > > > > The other day I was editing a remote file via scp when my client machine > > crashed. Had the file been local there would have been a swap file to > > recover > > unsaved changes. Is it possible to have local

Re: Vim as external editor for thunderbird

2017-02-06 Thread Axel Bender
@Guido Milanese (wow, that's an italian name for a change ;-) 1) Just to mention it: there are four variables that can be configured in the advanced settings of Thunderbird (view_source.editor) which have not been working for me since Thunderbird 3.x (if I recall it correctly). As far as I

Re: Vim as external editor for thunderbird

2017-02-06 Thread Guido Milanese
Thanks for the suggestions. However: 1. "External Editor" does not work with the version of thunderbird I recently installed (45.7.0 on Linux xubuntu). Firefox refuses even to download it, but I succeeded with Chromium. 2. As I mentioned, I am using

Re: vim scp and a local swap file

2017-02-06 Thread Charles E Campbell
Neil Watson wrote: > Greetings, > > The other day I was editing a remote file via scp when my client machine > crashed. Had the file been local there would have been a swap file to recover > unsaved changes. Is it possible to have local swap file for a remote file? > There should be a local swap

Re: Channel callbacks randomly fail to fire in Vim for win32

2017-02-06 Thread Kay Zheng
Hi folks, I did some research on the channel code, and if I read it right, there's an issue in channel_fill(...). AFAIK, a channel in JSON mode works like this: 1. When a network message arrives, it tries to parse a complete JSON object. 2. If there were a complete JSON object, it saves the

Re: Searching pattern in vim

2017-02-06 Thread Melvin Simon
Thanks a lot Tony! On Mon, Feb 6, 2017 at 3:36 PM, Tony Mechelynck < antoine.mechely...@gmail.com> wrote: > To erase everything until the last slash on every line of the current file: > > :%s/.*\// > > i.e "replace any number of characters" (dot means "anything except a > line break"), "as many

Re: Searching pattern in vim

2017-02-06 Thread Tony Mechelynck
To erase everything until the last slash on every line of the current file: :%s/.*\// i.e "replace any number of characters" (dot means "anything except a line break"), "as many as possible" (that's the star), "ending in a (backslash-escaped) slash, by nothing". The % range is short for 1,$ i.e.

Searching pattern in vim

2017-02-06 Thread Melvin Simon
Hi, Could someone guide me to match patterns in the following manner:- input /somealphabets/somethingelse/finalword output finalword i.e. I want to ignore all other'/' and get the last word alone, i.e. word between last / and $ (end of line) Thanks -- -- You received this message from

Re: Vim as external editor for thunderbird

2017-02-06 Thread rameo
Guido, I use http://www.listary.com/text-editor-anywhere Saluti da una ventosa Francia. :) ~R. -- -- 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 ---