[qutebrowser] Opening editor with Alacritty

David Nebauer david at nebauer.id.au
Tue Nov 30 22:21:29 CET 2021


Does nvim have to run in a terminal? On my system the gui version of 
nvim is nvim-qt and I use:

['nvim-qt', '--nofork', '{file}', '--', '-c', 'normal {line}G{column0}l']

Excerpts from Bearcat M. Şándor's message of December 1, 2021 5:55 am:
> 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/20211201/2b6b4d79/attachment.htm>


More information about the qutebrowser mailing list