![]() |
What do i need to do to get VIM started easily each time
I went to http://www.bleb.org/software/770/#vim and installed vim then i run the long command
Quote:
Quote:
The .profiles file dose not exist, do i create it? How do i format this .profiles file Help on this will make editing much easier. |
If you have root access, it's easier to edit /etc/profile, since that affects all users. Otherwise, use that file as an example for creating ~/.profile.
gnuite |
OK i have worked it out!
cd to the directory /bin start vi with the long comand $ LD_LIBRARY_PATH=/var/lib/install/usr/lib /var/lib/install/usr/bin/vim paste that command into vi then save the file as “vim” by hitting escape and then :w vim exit out of vim :q then make that file executable $ chmod a+x vim Quote:
if there is a less confusing way of explaining that go rite ahead and suggest it. |
i like your idea of writing a script... I'm admittedly a nix noob, but another script i found useful to write was auto move all .desktop files from the extras dir to the main location
|
Hey, speaking of VIM... I got it installed, but I couldn't get the carriage return to work. Instead, it inserted a capital "M" and maybe a couple of other garbage characters. I couldn't find a way to remap it with stty. It made it pretty hard to edit any files longer than one line. :confused: Anyone have better luck? I installed vim using the gainroot method.
|
Hi,
In terms of the 'vi' script in /bin, it'd be better if it read: Code:
#!/bin/shAs for the problem with pressing enter, this only happens in insert mode, but is a pain. I've seen it on desktop systems as well, but haven't yet worked out how to fix it. Something TERM related, probably. Cheers, Andrew |
I have installed bash but cant find where it intalled to and how to get it started. Will I need to run Xterm to start bash? also is there an equivelent file to the .bashrc file? for xterm?
By the way, Xterm is a memory hog for such a low level app what is with that? anybody concidering the uses of rSync? |
Quote:
|
my way requires root acess and i would recomend using aflegg's code to be inserted instaid.
Get root acess then copy all this text in one go and paste it into Xterm and it will do half of the steps Code:
cd /bin/Code:
:w vimI dont know if what i have done is "the way to do it" but it works everywere. If some Linux guru will come along and tell us how to do it, and in an idiot proof kind of way, well good do it there way. But untill then us linux stumblers have this way to do it. That is what i am a "Linux Stumbler" :o |
No root access is needed. Save this:
Quote:
MAKE SURE YOU GET THE TOP LINE RIGHT OR YOU WILL HAVE TO REFLASH YOUR 770. (Don't screw up your PATH.) Then reboot the 770, and any programs you install are in the PATH, including vim. Much better approach, because you don't have to write a script for every program you want to use. |
| All times are GMT. The time now is 18:28. |
vBulletin® Version 3.8.8