BushidoHacks.com - Forums - Wiki - Projects

Vim

A straightforward guide to text editing by Bushido Hacks

About Vim

Vim was originally developed for UNIX. Vim has come standard with other operating systems in recent years including Linux, BSD, and MacOS X. It is truely the de facto text editor essential for any programmer. While Vim has a primative interface, and may be cumbersome for people who have used programs like Microsoft Notepad for many years, Vim becomes easy to use if you know a few fundamental editing commands.

Why use Vim instead of Notepad?

Installation Instructions (Windows users only)

If you are using UNIX, BSD, Linux, or MacOS X, you probably have Vim installed on your system so you may skip this section.

If you are using Windows, you will need to install Vim using these instructions.

  1. Visit the website (optional) - Open your web browser and goto http://www.vim.org/.
  2. Download the installer - Using your browser, goto ftp://ftp.vim.org/pub/vim/pc/gvim70.exe to download the Vim installer for Windows. The installer is about 8 MB in size, the program will take about 20 MB. (Vim is much smaller on UNIX and Linux. Windows likes to inflate open source programs to a rediculously large size.)
  3. Install the programOpen gvim70.exe
    1. Click Yes.
    2. Scroll through the license agreenment and click I Agree.
    3. Select the following required components with an [x] next to them. Components with [ ] next to them should be deselected.
      [x]Vim executables and runtime files.[Required]
      [x]Vim console program (vim.exe)[Required]
      [ ]Create .bat files for command line use[Optional/Not recommended for thumbdrive users]
      [ ]Create icons on the Desktop[Optional/Not recommended for thumbdrive users]
      [ ]Add Vim to the Start Menu[Optional/Not recommended for thumbdrive users]
      [ ]Add an Edit-with-Vim context menu[Optional/Not recommended for thumbdrive users]
      [ ]Create a _vimrc if it doesn't exist[Optional/Not recommended for thumbdrive users]
      [ ]Create plugin directories in HOME or VIM[Optional/Not recommended for thumbdrive users]
      [ ]Create plugin directories in VIM[Optional/Not recommended for thumbdrive users]
      [ ]VisVim Extension of MS Visual Studio[Not recommended]
      [ ]Native Language support[3.7 MB. Recommended if you perfer to use your native language instead of English]
      Then click Next.
    4. Change the path directory (Optional) - By default, Vim is installed in C:\Program Files\Vim. If you are installing Vim on a thumbdrive or any other form of removable media, install it to F:\Vim.
    5. Click Install.
    6. During the installation, you may choose to view what is being installed. On fast computers, this list will blur right by you. On slow computers or when installing to removable media, this may take a while. If you encounter a DOS prompt that states "Attempting to register Vim with OLE" press ENTER. For most people, it is nothing to worry about.
    7. Click Close. If you want to get started using Vim right now as well as view the README file, click Yes.
  4. Running Vim from removable media. (optional) - To run Vim on Windows from a thumbdrive, go to F:\Vim\vim70\gvim.exe. (Tip: Create a batch file that opens that appication if you wish.)

For more information about Vim and its features visit http://www.vim.org/.

Using Vim

This section has not been developed yet. It will be soon.
© 2006 BushidoHacks.com 198 visitors