Skip to content

gasparch/vim-qt-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This repository contains scripts to automate task of building -current version of vim-qt.

All build process is done in VM in order not to contaminate host system with development packages. Snapcraft installs packages necessary for building in host environment, which may intervene with normally installed packages.

vim-qt build into snap in order to allow clean install/uninstall of testing versions.

Docker is not quite suitable, because it had problems running snapd inside it (in order to install core snap), that's why Vagrant is used.

Prerequisites

  • recent version of Vagrant
  • snapd installed on the system
  • vim-qt snap expects vim to be installed on host system in /usr/share/vim

Builging snap

To build or rebuild package simply run vagrant up in current directory. Output of the build will be in snap/qvim_dev_amd64.snap file.

Installing snap

To install snap package use following command:

sudo snap install --dangerous --classic snap/qvim_dev_amd64.snap

Please note that it uses classical confinement in ordet to give qvim access to all locally installed tools. This means it is not isolated in snap directory, but can access all your system information.

--dangerous necessary to allow installation of unsigned snaps.

Running

Use there commands (available under /snap/bin/ path):

  • qvim
  • qvim.vim to run console-based version of vim from snap

About

Build snap with current version of vim-qt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published