[qutebrowser] Opening editor with Alacritty

Bearcat M. Şándor bearcatsandor at gmail.com
Thu Dec 2 23:44:31 CET 2021


In short, yes it has to be in a terminal.  I appreciate it, but the problem
isn't my command, it's that the textbox isn't basic enough to connect.

On Thu, Dec 2, 2021 at 5:06 AM David Nebauer <david at nebauer.id.au> wrote:

> 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
>
>

-- 
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/20211202/86728337/attachment.htm>


More information about the qutebrowser mailing list