Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Advisor

Vi Text Editor

Hi all,

 

I'm looking to improve on Vi by wanting to install Vim, can't seem to though, tried yum and apt-get but having trouble 🙂 

Is this even possible? Looking to add some colour to my scripts 🙂

Tom

0 Kudos
Reply
4 Replies
Highlighted
Champion
Champion

I do not understand - on your client PC you can install anything you want, but i fear you are talking about GAiA OS. Installing other Linux software can be possibly made but is explicitly unsupported by CheckPoint !

Highlighted
Admin
Admin

We do not support installation of third party binaries on a Check Point OS.
That said, at least in R77.30 and R80.30, vim 7.0.237 is included.
Not sure about earlier releases.

Edit: added R77.30

0 Kudos
Reply
Highlighted
Advisor

We're due to go to R80.30 in the new year so, will test this out.

Thanks Daemon.

Tom

0 Kudos
Reply
Highlighted
Participant

Hi,

Little late to the party, but here's how I got it working.

Using vim -V shows what's being loaded during VIM startup
Fetch http://ftp.vim.org/pub/vim/unix/vim-7.0.tar.bz2
Unpack the bz2 file, scp it to your server's /tmp and untar the file.
It will create a folder named vim70 and the sub folder runtime

If you have a ${HOME}/.vim folder, rename it.
Move the runtime folder to ${HOME}/.vim

Navigate to /usr/share/vim70/syntax
Make the following symbolic links:
ln -s ${HOME}/.vim/syntax/nosyntax.vim .
ln -s ${HOME}/.vim/syntax/syntax.vim .
ln -s ${HOME}/.vim/syntax/colsyntax.vim .

I'm sure you could go all Sherlock and pick what you exactly need for colorized syntax highlighting, I didn't 😉

Best of luck! 

Daniel