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
summary: the ubiquitous text editor
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.
beta: 8.0 (1) 15MB classic
But I was not able to find out the code to build it. Anybody has more information?
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