vim and files from gvfs mounted file systems

19 Dec
2024
19 Dec
'24
10:52 a.m.
Hi everyone Since upgrading to Linux Mint 22 Wilma and vim 9.1.x, I noticed an issue with vim when editing remote files (eg mounted via sftp through caja): saving the file would fail. Not ideal... Looks like there is an issue with gvfs mounted file systems: https://github.com/vim/vim/issues/5309 https://github.com/vim/vim/issues/5237#issuecomment-1366262853 Disabling the creation of backup files avoids the issue: :set backupcopy=no Or, if you want to automate it based on path, you can place the following in your .vimrc: autocmd BufRead,BufNewFile /run/user/* set backupcopy=no Cheers, Peter
131
Age (days ago)
131
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Reutemann