[qutebrowser] Opening editor with Alacritty

Bearcat M. Şándor bearcatsandor at gmail.com
Tue Nov 30 21:25:32 CET 2021


Trying  ['/usr/bin/alacritty', '-e', '/usr/bin/nvim', '{}']
and ["alacritty", "-e", "nvim", "{file}", "+call cursor({line}, {column})"]
both of them fire off neovim in a terminal with no errors. However, neovim
is always empty regardless of the textbox's contents, and the textbox is
never altered by neovim's contents.  Maybe the file that neovim is editing
is incorrect?

Process 3548321: alacritty
Info
Command
alacritty -e nvim /tmp/qutebrowser-editor-m8jylsg_ '+call cursor(1, 1)'
Status Editor exited successfully.
Standard output
No output.
Standard error
No output.

On Mon, Nov 29, 2021 at 8:41 PM Javier Ayres <javier at lufte.net> wrote:

> Try changing it to ['usr/bin/alacritty', '-e', '/usr/bin/nvim/', '{}']
>
> On Mon, Nov 29, 2021, at 17:44, Bearcat M. Şándor wrote:
> > I have the common problem of opening an editor for a text box and
> > having that fail.
> >
> > */usr/bin/alacritty '-e /usr/bin/nvim' /tmp/qutebrowser-editor-pc7oapv1
> >  *is the command that it's running but of course the single quotes
> > around the -e switch shouldn't be there, and alacritty errors out.
> > However, if I remove them from my config file which has
> > *c.editor.command = ['usr/bin/alacritty', '-e /usr/bin/nvim/', '{}'] .
> > * If I change it to  *c.editor.command = ['usr/bin/alacritty', -e
> > /usr/bin/nvim/, '{}']  *the config won't load
> >
> > Anyone have an ideas, or have edit-text working with alacritty?
> > 
> > Thanks
> > --
> > Bearcat M. Şándor
> > Feline Soul Studio LLC
> > Voice: 872.CAT.SOUL (872.228.7685)
> > Fax: 406.235.7070
>


-- 
Bearcat M. Şándor
Feline Soul Studio LLC
Voice: 872.CAT.SOUL (872.228.7685)
Fax: 406.235.7070
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/qutebrowser/attachments/20211130/f6cea210/attachment.htm>


More information about the qutebrowser mailing list