On Do, 27 Okt 2011, Jostein Berntsen wrote:
> Thanks. I tried to source the vmb file now from the updated
> repository, but the same result with no ranger.
I took this offlist and the problem is now solved.
regards,
Christian
On 27.10.11,18:59, Christian Brabandt wrote:
> Hi Jostein!
>
> On Do, 27 Okt 2011, Jostein Berntsen wrote:
>
> > I get the attach file question but entering a space or a directory
> > does not bring up ranger. I have filebrowser setting in .vimrc and
> > install the plugin by vimball.
>
> The vi
Hi Jostein!
On Do, 27 Okt 2011, Jostein Berntsen wrote:
> I get the attach file question but entering a space or a directory
> does not bring up ranger. I have filebrowser setting in .vimrc and
> install the plugin by vimball.
The vimball hasn't been updated yet. Hm, let me update it. Okay, plea
On 27.10.11,12:28, Christian Brabandt wrote:
> On Thu, October 27, 2011 12:05 pm, Jostein Berntsen wrote:
> > On 26.10.11,23:32, Christian Brabandt wrote:
> >> Yes that is me. Try the version from github and be sure to have
> >> :let g:checkattach_filebrowser='ranger' in your .vimrc. That should
>
On Thu, October 27, 2011 12:05 pm, Jostein Berntsen wrote:
> On 26.10.11,23:32, Christian Brabandt wrote:
>> Yes that is me. Try the version from github and be sure to have
>> :let g:checkattach_filebrowser='ranger' in your .vimrc. That should
>> be all you need.
>
> That is great, I downloaded the
On 26.10.11,23:32, Christian Brabandt wrote:
> Hi Sebastian!
>
> On Mi, 26 Okt 2011, Sebastian Tramp wrote:
>
> > On Wed, Oct 26, 2011 at 09:52:55AM +0200, Christian Brabandt wrote:
> > > Would there be interest, to implement an interface to range in the
> > > previously mentioned Vim-Plugin?
> >
On Wed, Oct 26, 2011 at 11:32:45PM +0200, Christian Brabandt wrote:
> > > Would there be interest, to implement an interface to range in the
> > > previously mentioned Vim-Plugin?
> >
> > +1 :) - I already use your CheckAttach extension as a submodule from
> > your repo [1] (assuming you are chris
Hi Sebastian!
On Mi, 26 Okt 2011, Sebastian Tramp wrote:
> On Wed, Oct 26, 2011 at 09:52:55AM +0200, Christian Brabandt wrote:
> > Would there be interest, to implement an interface to range in the
> > previously mentioned Vim-Plugin?
>
> +1 :) - I already use your CheckAttach extension as a sub
On 26.10.11,09:52, Christian Brabandt wrote:
> On Wed, October 26, 2011 8:43 am, Volker Bouffier wrote:
> >>call append(6, map(readfile('/tmp/chosenfiles'), '"Attach:
> >> ".substitute(v:val,''\s'',''\\ '',"g")'))
> >
> > Sorry, this wasn't correct. But I think the following line should do it.
On Wed, Oct 26, 2011 at 09:52:55AM +0200, Christian Brabandt wrote:
> Would there be interest, to implement an interface to range in the
> previously mentioned Vim-Plugin?
+1 :) - I already use your CheckAttach extension as a submodule from
your repo [1] (assuming you are chrisbra :) - and this wo
On Wed, October 26, 2011 8:43 am, Volker Bouffier wrote:
>>call append(6, map(readfile('/tmp/chosenfiles'), '"Attach:
>> ".substitute(v:val,''\s'',''\\ '',"g")'))
>
> Sorry, this wasn't correct. But I think the following line should do it.
> call append(6, map(readfile('/tmp/chosenfiles
> call append(6, map(readfile('/tmp/chosenfiles'), '"Attach:
>".substitute(v:val,''\s'',''\\ '',"g")'))
Sorry, this wasn't correct. But I think the following line should do it.
call append(6, map(readfile('/tmp/chosenfiles'), '"Attach:
".substitute(v:val,''\(\s\)'',''\\\1'',"g")'))
B
> I expect it to break with tabs etc in the filename too.
call append(6, map(readfile('/tmp/chosenfiles'), '"Attach:
".substitute(v:val,''\s'',''\\ '',"g")'))
This should handle even tabs. I also replaced the insert line with 6. Here is
the whole thing:
| " mutt: insert attachment with r
On 24Oct2011 17:04, Volker Bouffier wrote:
| > You can even do it in one step ;)
| >
| > :call append('.', map(readfile('/tmp/foobar'), '"Attach:
| > ".substitute(v:val," ",''\\ '',"g")'))
| This seems to be perfect. So here is my final .vimrc script:
I expect it to break with tabs etc in the fi
> You can even do it in one step ;)
>
> :call append('.', map(readfile('/tmp/foobar'), '"Attach:
> ".substitute(v:val," ",''\\ '',"g")'))
This seems to be perfect. So here is my final .vimrc script:
| " mutt: insert attachment with ranger
| fun! RangerMuttAttach()
| if filereadable('/tmp/c
On Mon, October 24, 2011 11:44 am, Volker Bouffier wrote:
>> Even better, avoid sed altogether:
>> call append('.', map(readfile('/tmp/chosenfiles'), '"Attach: ".v:val'))
> Sed is the better choice in this case. The above command does not work
> with whitespaces.
Of course it works with whitespac
> Even better, avoid sed altogether:
> call append('.', map(readfile('/tmp/chosenfiles'), '"Attach: ".v:val'))
Sed is the better choice in this case. The above command does not work with
whitespaces.
There must be a backslash in front of a whitespace character.
On 21.10.11,12:37, Volker Bouffier wrote:
> > " mutt: insert attachment
> >
> >
>
> > Do you have a way to empty the registry as well fr
Hi Volker!
On Fr, 21 Okt 2011, Volker Bouffier wrote:
> | " mutt: insert attachment with ranger
> | fun! RangerMuttAttach()
> | if filereadable('/tmp/chosendir')
> | silent !ranger --choosefiles=/tmp/chosenfiles
> --choosedir=/tmp/chosendir "$(cat /tmp/chosendir)"
> | else
| " mutt: insert attachment with ranger
| fun! RangerMuttAttach()
| if filereadable('/tmp/chosendir')
| silent !ranger --choosefiles=/tmp/chosenfiles
--choosedir=/tmp/chosendir "$(cat /tmp/chosendir)"
| else
| silent !ranger --choosefiles=/tmp/chosenfiles
--choosedi
> " mutt: insert attachment
>
>
> fun! RangerMuttAttach()
>
On 20.10.11,15:36, Volker Bouffier wrote:
>
>
>
>
> - Ursprüngliche Message -
> Von: du yang
> An: mutt-users@mutt.org
> Cc:
> Gesendet: 15:22 Donnerstag, 20.Oktober 2011
> Betreff: Re: external file manager
>
> On Thursday 10/20/11 20:09:26 C
- Ursprüngliche Message -
Von: Volker Bouffier
An: "mutt-users@mutt.org"
Cc:
Gesendet: 14:09 Donnerstag, 20.Oktober 2011
Betreff: Re: external file manager
For completeness here is the vi script I'm using now:
fun! RangerMuttAttach()
silent !ranger --
On 20Oct2011 21:22, du yang wrote:
| On Thursday 10/20/11 20:09:26 CST, Volker Bouffier wrote:
| > On 13Oct2011 22:08, stardiviner wrote:
| > > I usually attach files to a message by putting "Attach:" header lines in
| > > during the edit mode. Now, I have a vi macro bound to ^A to do this with
|
- Ursprüngliche Message -
Von: Christian Brabandt
An: "mutt-users@mutt.org"
Cc:
Gesendet: 17:13 Donnerstag, 20.Oktober 2011
Betreff: Re: external file manager
On Thu, October 20, 2011 4:36 pm, Volker Bouffier wrote:
> What exactly are you using ranger for?
Ranger is a
On Thu, October 20, 2011 4:36 pm, Volker Bouffier wrote:
> I've inserted a small vim macro in my .vimrc, which does what I want:
> " mutt: insert attachment
> fun! RangerMuttAttach()
> silent !ranger --choosefile=/tmp/chosenfile
> if filereadable('/tmp/chosenfile')
> exec 'rea
- Ursprüngliche Message -
Von: du yang
An: mutt-users@mutt.org
Cc:
Gesendet: 15:22 Donnerstag, 20.Oktober 2011
Betreff: Re: external file manager
On Thursday 10/20/11 20:09:26 CST, Volker Bouffier wrote:
> There have had solutions for file attaching like so.
> For emacs, pos
On Thursday 10/20/11 20:09:26 CST, Volker Bouffier wrote:
> On 13Oct2011 22:08, stardiviner wrote:
> > I usually attach files to a message by putting "Attach:" header lines in
> > during the edit mode. Now, I have a vi macro bound to ^A to do this with
> > file completion easily, which makes me ha
- Ursprüngliche Message -
Von: Cameron Simpson
An: mutt-users@mutt.org
Cc:
Gesendet: 1:59 Donnerstag, 20.Oktober 2011
Betreff: Re: external file manager
On 13Oct2011 22:08, stardiviner wrote:
> I usually attach files to a message by putting "Attach:" header lines in
On 13Oct2011 22:08, stardiviner wrote:
| => On [2011-10-11 19:16:13 +0100]:
| Volker Bouffier Said:
| > is it possible to use an external file manager, for instance to select an
| > attachment. I like ranger much more than the integrated file manager.
| >
| cool idea, I like rang
=> On [2011-10-11 19:16:13 +0100]:
Volker Bouffier Said:
>
>
> Dear all,
>
> is it possible to use an external file manager, for instance to select an
> attachment. I like ranger much more than the integrated file manager.
>
cool idea, I like ranger too. hope someo
Sorry for this kind of formatting. I use a web interface at work and don't know
how to switch to plain text.
: Sebastian Tramp <m...@sebastian.tramp.name>
An: Volker Bouffier <volkerbouff...@yahoo.de>;
"mutt-users@mutt.org" <mutt-users@mutt.org>
Cc:
Gesendet: 13:44 Mittwoch, 12.Oktober 2011
Betreff: Re: external file manager
On Tue, Oct 11, 2011 at 07:16:13PM +0100, Volker Bouf
On Tue, Oct 11, 2011 at 07:16:13PM +0100, Volker Bouffier wrote:
> is it possible to use an external file manager, for instance to select
> an attachment. I like ranger much more than the integrated file
> manager.
This would be a really great feature and I really hope that i
Dear all,
is it possible to use an external file manager, for instance to select an
attachment. I like ranger much more than the integrated file manager.
Best regards
Volker
35 matches
Mail list logo