I was thinking that it would be great to have a vim snap with the latest & greatest version, as the one in the xenial repos is quite old, and then I saw that there is a snap published by snapcrafters:
$ snap info vim
name: vim
summary: the ubiquitous text editor
publisher: snapcrafters
license: Proprietary
description: |
Vim is a highly configurable text editor built to make creating and changing
any kind of text very efficient. It is included as "vi" with most UNIX
systems and with Apple OS X.
snap-id: BvAWP4GoQqsnOFWeGrNkQRfswruAdMYK
channels:
stable: –
candidate: –
beta: 8.0 (1) 15MB classic
edge: ↑
But I was not able to find out the code to build it. Anybody has more information?
I need to dig into some backups. It will probably be easier to re-create it. This was after all, the first ever classic confined snap created with snapcraft.
I take it it never got updated? Anything I can do to help?
More importantly, as a snap, does anyone see an issue with Vim plugins? My concerns are:
Could I use proper vim plugins with vim installed as a snap.
Could vim plugins be installed via snaps? I don’t think any vim plugins are currently snaps but I’m in the process of making one. I would love to be able to do this.
if vim is built from source and properly adjusted, there is no reason why it should not be able to be changed to read its plugins from $SNAP_USER_DATA/.vim or $SNAP_USER_COMMON/.vim. the only valid reason for vim to be classic is that you might want to edit actual system files with it that do not live in $HOME, every other runtime aspect of the binary can be adjusted to work fine under confinement.
(and IMHO a classic snap should be created with this in mind, in case we ever get some “rootfs-rw” interface of some form you could immediately switch it over to be confined without much work)
definitely … i’m not saying it should not be classic … but as someone who spends his day with Ubuntu Core where classic snaps are not possible, i’m always after a way to easily switch such packages over to proper confinement