toot
toot copied to clipboard
toot post -e vim not working
hi,
i tried using vim for posting but i get this error:
You must specify either text or media to post.
(i fill the file with text above the specifed line)
I get the same error with neovim (nvim command).
It works with nano. It's probably a configuration issue, but i can't figure out whats the reason. The temp file *.toot is created and accessible (writable)...
@vodrazka regardless of whether #244 is accepted or not, you can add set backupcopy=yes to make it work now.
I'm unable to reproduce this issue. I'm using vim for posting from toot regularly, from Debian and Fedora.
My vim settings have backupcopy=auto and backup=nobackup. Do you have backup enabled in settings?
I have backups turned off. Enabling them fixes this.
My init.lua (neovim) has this now:
-- toot
vim.opt.backupcopy = 'yes'
Hi @ihabunek - I’m on VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Nov 25 2022 21:13:47). :set backup? is nobackup. :set backupcopy? is backupcopy=yes. I can replicate if :set backupcopy=auto. Let me know what I can do to help.