TravelinMax
Posts: 25
Joined: Mon Nov 26, 2012 3:46 am
Location: Michigan, USA

Vim with Color Syntax on Pi

Sat Feb 16, 2013 8:47 pm

The version of Vim on the Rasbian Distro does not support color syntax, I tried to install the full version but it always says "Unable to locate package"

Any suggestion? I've tried

Code: Select all

apt-get vim
apt-get vim-rt
apt-get vim-full
Same error for each.

Thanks

Cloudcentric
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am

Re: Vim with Color Syntax on Pi

Sat Feb 16, 2013 8:55 pm

Have you................

sudo apt-get update
sudo apt-get dist-upgrade

prior to downloading software ?
I know everything about nothing"

User avatar
PeterO
Posts: 3613
Joined: Sun Jul 22, 2012 4:14 pm

Re: Vim with Color Syntax on Pi

Sat Feb 16, 2013 8:57 pm

Have you tried

Code: Select all

apt-cache search vim
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),Aeromodelling,1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Vim with Color Syntax on Pi

Sat Feb 16, 2013 9:02 pm

RASPBIAN

vim
vim-addon-manager
vim-runtime
vim-syntax-go
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

User avatar
jojopi
Posts: 2993
Joined: Tue Oct 11, 2011 8:38 pm

Re: Vim with Color Syntax on Pi

Sat Feb 16, 2013 9:12 pm

TravelinMax wrote:apt-get vim
It is "sudo apt-get install vim". Otherwise that is the correct package name. You may need "sudo apt-get update" first, as above.

TravelinMax
Posts: 25
Joined: Mon Nov 26, 2012 3:46 am
Location: Michigan, USA

Re: Vim with Color Syntax on Pi

Sat Feb 16, 2013 10:00 pm

jojopi wrote:
TravelinMax wrote:apt-get vim
It is "sudo apt-get install vim". Otherwise that is the correct package name. You may need "sudo apt-get update" first, as above.
Thanks guys, this worked! Though I tried

Code: Select all

apt-cache search vim
right before it, I don't know if that helped or not.

Return to “General programming discussion”

Who is online

Users browsing this forum: No registered users and 2 guests