Notices


Reply
Thread Tools
Posts: 144 | Thanked: 0 times | Joined on Dec 2005 @ Niles IL...Chicago born and raised.
#1
I can't, for the life of me, figure out how I'm supposed to install and use this...I'm better than the rookie in linux cli...but I'm not a super linux user. Maybe a dummy how to?
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#2
To install VIM:
  1. Open http://www.bleb.org/software/770/#vim on the 770's Opera.
  2. Click on the download link.
  3. In the resulting dialogue box, click Open
  4. The Application Installer will start and ask you to confirm the install. Click OK.

Repeat the process for the XTerm package from http://770.fs-security.com/xterm/

To start vim:
  1. Open X Terminal Emulator from the Extras menu.
  2. Type:
    Code:
    LD_LIBRARY_PATH=/var/lib/install/usr/lib /var/lib/install/usr/bin/vim

There are various enhancements and suggestions to simplify the command, and improve the experience (including setting up a .vimrc and .profile file).

If you could explain what's confusing about installing vim compared with other packages, which I don't make clear on the vim page, that'd be helpful.

HTH,

Andrew
 
Posts: 23 | Thanked: 1 time | Joined on Jan 2006 @ Portland
#3
The chief problem I have with vim is that I keep trying to invoke it as "vi". (I admit to being a little stuck in my ways.)

However, I admit the best solution is to create a symbolic link between vi & vim. Whether that should be done as part of the install process depends on whether one wants to make vi accessible to the less experienced.

Geoff
 
Posts: 144 | Thanked: 0 times | Joined on Dec 2005 @ Niles IL...Chicago born and raised.
#4
I'm sorry, you're right I should have given a bit more detail as to what I found difficult. I was figuring that you can just type in "vim blah blah blah" and edit blah. I should have done my job as well and done a little research before hand.
 
Posts: 47 | Thanked: 55 times | Joined on Jan 2006
#5
A different question on vim-tiny:

Is it possible to reflow text with vim-tiny? My usual method of gqap seems to have no effect.

Alternatively, what would be involved in installing a more complete version of vim?
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#6
"gq<down>" is what I usually use and that works ok. As for vim-big, that's probably as easy to repackage as vim-tiny was.
 
Posts: 144 | Thanked: 0 times | Joined on Dec 2005 @ Niles IL...Chicago born and raised.
#7
I got it. What I did is this.

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/var/lib/install/usr/lib

and

PATH=$PATH:/var/lib/install/usr/sbin

for both user and root...now I can run it fine by typing vim <filename>
 
Posts: 78 | Thanked: 9 times | Joined on Dec 2005 @ Devon, UK
#8
Originally Posted by llywrch
The chief problem I have with vim is that I keep trying to invoke it as "vi". (I admit to being a little stuck in my ways.)

However, I admit the best solution is to create a symbolic link between vi & vim. Whether that should be done as part of the install process depends on whether one wants to make vi accessible to the less experienced.

Geoff
It works as vi for me, but then I've set vi as an alias. You could do this in your .profile, but you'll have to reboot for it to take effect. Or you could create a .shrc as I suggest in the wiki page on using xterm.
 
Posts: 10 | Thanked: 1 time | Joined on Feb 2006 @ Cambridge, MA, USA
#9
I have a question about key mappings in vim. While in insert mode, the return key does not insert a line feed to put the cursor in the next line, instead there is an "M" appearing on the preceding line.
Thanks.

Originally Posted by aflegg
To install VIM:
  1. Open http://www.bleb.org/software/770/#vim on the 770's Opera.
  2. Click on the download link.
  3. In the resulting dialogue box, click Open
  4. The Application Installer will start and ask you to confirm the install. Click OK.

Repeat the process for the XTerm package from http://770.fs-security.com/xterm/

To start vim:
  1. Open X Terminal Emulator from the Extras menu.
  2. Type:
    Code:
    LD_LIBRARY_PATH=/var/lib/install/usr/lib /var/lib/install/usr/bin/vim

There are various enhancements and suggestions to simplify the command, and improve the experience (including setting up a .vimrc and .profile file).

If you could explain what's confusing about installing vim compared with other packages, which I don't make clear on the vim page, that'd be helpful.

HTH,

Andrew
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#10
From http://bleb.org/software/770/#vim

To ensure the cursor keys work correctly when using vim, put the following in /home/user/.vimrc:

Code:
    set nocompatible
HTH,

Andrew
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:12.