LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vi / vim command (https://www.linuxquestions.org/questions/linux-newbie-8/vi-vim-command-508078/)

shahed 12-06-2006 10:53 PM

vi / vim command
 
Dear All,

I am a new user of cygwin to practice the linux/unix commands in the window.

But i am unable to use the vi or vim command. I downloaded the vim-7.0.tar file. Now what should i do as there is no exe file....

Can anyone please help me?

Best regards,

Shahed

jschiwal 12-06-2006 11:10 PM

Use the setup program to download and install the vim package. It should untar the package for you and copy the files where they need to go. In the cygwin shell enter "which vim" to see if it is installed. It should be in either the /bin/ or the /usr/bin/ directory. I bet it is in the /usr/bin/ directory. Other files that vim uses such as the help files and language syntax files will be installed in other directories (under /usr/share/vim/ ).

From your comment about the vim.exe file, I'm not certain whether you realize that you run the commands from inside the cygwin shell. I installed Cygwin/X on my computer at work. I find the textutils to be very useful. I can take a directory listings of dvd backups to produce a tab separated file containing a db of discs and filenames, and then use enscript to produce a post script catalog. Then I use ps2pdf to convert it to a pdf file that I copy to the server for the other employee's to reference if they need to bring back a backed up video spot. The script that does all this is only 3 or 4 lines long! Consider the massive gui program that a windows only user would use to do the same thing!


All times are GMT -5. The time now is 10:10 AM.