-
Notifications
You must be signed in to change notification settings - Fork 17
vim: compiling instructions
Once you've connected to the internet, Vim, in conjunction with git and npm, provides a fully-functional, JavaScript development environment directly on the board. This workflow may be appropriate for debugging a project in its final stages.
The following steps detail the process for building Vim in case it is not already installed.
You will need to install the ncurses dependency first (if it is not installed yet): http://petio.org/tools/ncurses.html
whereis ncurses
If this does not return a path to the ncurses.h file, you will need to do...
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
tar -xvzf ncurses-5.7.tar.gz
cd ncurses-5.7
./configure --prefix=/usr
make
make install
Vim is downloaded via Mercurial, which is not installed on the Galileo or Edison by default, but you can use this git mirror site to clone it. More details here: https://github.com/b4winckler/vim
git clone https://github.com/b4winckler/vim.git
cd vim
./configure --with-features=huge
make
make install
Some features may have additional dependencies, and may not work on the Galileo or Edison.
There are a ton of plugins that could be useful. Vundle is an excellent plugin manager that works just fine on the Galileo and Edison.