[PATCH] VIM: Add URI handling

2014-10-21 Thread Tomi Ollila
On Mon, Oct 20 2014, Franz Fellner wrote: >> this commit message. > MsgID was just a short name for message-id, and I am used to CamelCase... > > VIM: Add support to open messages specified by their message-id in > notmuch-show. Perhaps something like: vim: add support to open id: links(*)

Re: [PATCH] VIM: Add URI handling

2014-10-21 Thread Tomi Ollila
On Mon, Oct 20 2014, Franz Fellner alpine.art...@gmail.com wrote: this commit message. MsgID was just a short name for message-id, and I am used to CamelCase... VIM: Add support to open messages specified by their message-id in notmuch-show. Perhaps something like: vim: add support to open

[PATCH] VIM: Add URI handling

2014-10-20 Thread Tomi Ollila
On Fri, Oct 17 2014, Franz Fellner wrote: > On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main wrote: >> Franz Fellner wrote: >> > Here is a working implementation. >> > Please review carefully as I only can simulate ruby and vimscript >> > knowledge from what I see in notmuch.vim sourcefile and

[PATCH] VIM: Add URI handling

2014-10-20 Thread Tomi Ollila
On Thu, Oct 02 2014, Ian Main wrote: > This patch adds URI handling to the vim client. You can now press > 'u' by default and the client will parse the current line and find > any URIs available. If there are more than one it opens the one > under the cursor or else it opens the only one

[PATCH] VIM: Add URI handling

2014-10-20 Thread Franz Fellner
Tomi Ollila wrote: > On Fri, Oct 17 2014, Franz Fellner wrote: > > > On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main > > wrote: > >> Franz Fellner wrote: > >> > Here is a working implementation. > >> > Please review carefully as I only can simulate ruby and vimscript > >> > knowledge from what I

[PATCH] VIM: Add URI handling

2014-10-20 Thread Ian Main
Franz Fellner wrote: > On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main wrote: > > Franz Fellner wrote: > > > Here is a working implementation. > > > Please review carefully as I only can simulate ruby and vimscript > > > knowledge from what I see in notmuch.vim sourcefile and quick > > > googling. >

Re: [PATCH] VIM: Add URI handling

2014-10-20 Thread Ian Main
Franz Fellner wrote: On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main im...@stemwinder.org wrote: Franz Fellner wrote: Here is a working implementation. Please review carefully as I only can simulate ruby and vimscript knowledge from what I see in notmuch.vim sourcefile and quick

Re: [PATCH] VIM: Add URI handling

2014-10-20 Thread Tomi Ollila
On Thu, Oct 02 2014, Ian Main im...@stemwinder.org wrote: This patch adds URI handling to the vim client. You can now press 'u' by default and the client will parse the current line and find any URIs available. If there are more than one it opens the one under the cursor or else it opens

Re: [PATCH] VIM: Add URI handling

2014-10-20 Thread Tomi Ollila
On Fri, Oct 17 2014, Franz Fellner alpine.art...@gmail.com wrote: On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main im...@stemwinder.org wrote: Franz Fellner wrote: Here is a working implementation. Please review carefully as I only can simulate ruby and vimscript knowledge from what I see in

Re: [PATCH] VIM: Add URI handling

2014-10-20 Thread Franz Fellner
Tomi Ollila wrote: On Fri, Oct 17 2014, Franz Fellner alpine.art...@gmail.com wrote: On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main im...@stemwinder.org wrote: Franz Fellner wrote: Here is a working implementation. Please review carefully as I only can simulate ruby and vimscript

[PATCH] VIM: Add URI handling

2014-10-17 Thread Franz Fellner
On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main wrote: > Franz Fellner wrote: > > Here is a working implementation. > > Please review carefully as I only can simulate ruby and vimscript > > knowledge from what I see in notmuch.vim sourcefile and quick > > googling. > > Yes, this works nicely.

Re: [PATCH] VIM: Add URI handling

2014-10-17 Thread Franz Fellner
On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main im...@stemwinder.org wrote: Franz Fellner wrote: Here is a working implementation. Please review carefully as I only can simulate ruby and vimscript knowledge from what I see in notmuch.vim sourcefile and quick googling. Yes, this works

[PATCH] VIM: Add URI handling

2014-10-15 Thread Ian Main
Franz Fellner wrote: > Here is a working implementation. > Please review carefully as I only can simulate ruby and vimscript > knowledge from what I see in notmuch.vim sourcefile and quick > googling. Yes, this works nicely. Thanks! I do notice however that this is against the github plugin

Re: [PATCH] VIM: Add URI handling

2014-10-15 Thread Ian Main
Franz Fellner wrote: Here is a working implementation. Please review carefully as I only can simulate ruby and vimscript knowledge from what I see in notmuch.vim sourcefile and quick googling. Yes, this works nicely. Thanks! I do notice however that this is against the github plugin repo (I

[PATCH] VIM: Add URI handling

2014-10-11 Thread Franz Fellner
Here is a working implementation. Please review carefully as I only can simulate ruby and vimscript knowledge from what I see in notmuch.vim sourcefile and quick googling. Regards Franz diff --git a/plugin/notmuch.vim b/plugin/notmuch.vim index 567f75c..ef9fefa 100644 --- a/plugin/notmuch.vim

Re: [PATCH] VIM: Add URI handling

2014-10-11 Thread Franz Fellner
Here is a working implementation. Please review carefully as I only can simulate ruby and vimscript knowledge from what I see in notmuch.vim sourcefile and quick googling. Regards Franz diff --git a/plugin/notmuch.vim b/plugin/notmuch.vim index 567f75c..ef9fefa 100644 --- a/plugin/notmuch.vim

[PATCH] VIM: Add URI handling

2014-10-10 Thread Franz Fellner
Works nice. Tested with an https and a mailto URI. But it would be awesome if you could add message id handling, So one could easily navigate to linked messages. I only found emacs client implement this feature. What I read in the docs about ruby URI module it should be fairly easy to add a custom

[PATCH] VIM: Add URI handling

2014-10-10 Thread Ian Main
Franz Fellner wrote: > Works nice. Tested with an https and a mailto URI. > But it would be awesome if you could add message id handling, So one > could easily navigate to linked messages. I only found emacs client > implement this feature. What I read in the docs about ruby URI module > it should

Re: [PATCH] VIM: Add URI handling

2014-10-10 Thread Franz Fellner
Works nice. Tested with an https and a mailto URI. But it would be awesome if you could add message id handling, So one could easily navigate to linked messages. I only found emacs client implement this feature. What I read in the docs about ruby URI module it should be fairly easy to add a custom

Re: [PATCH] VIM: Add URI handling

2014-10-10 Thread Ian Main
Franz Fellner wrote: Works nice. Tested with an https and a mailto URI. But it would be awesome if you could add message id handling, So one could easily navigate to linked messages. I only found emacs client implement this feature. What I read in the docs about ruby URI module it should be

[PATCH] VIM: Add URI handling

2014-10-02 Thread Ian Main
This patch adds URI handling to the vim client. You can now press 'u' by default and the client will parse the current line and find any URIs available. If there are more than one it opens the one under the cursor or else it opens the only one available. It also supports mailto: URI's and will