Bram Moolenaar | 8da4467 | 2007-05-06 16:33:11 +0000 | [diff] [blame] | 1 | Choose your preferred icon and replace the standard Vim icon with it. |
| 2 | [This is for the Amiga] |
| 3 | |
| 4 | When started from Workbench, Vim opens a window of standard terminal size |
| 5 | (80 x 25). Trying to change this by adding a tool type results in a window |
| 6 | that disappears before Vim comes up in its own window. |
| 7 | If you want Vim to start with another size, it can be done using |
| 8 | IconX. |
| 9 | |
| 10 | Follow these steps: |
| 11 | |
| 12 | 1. Create a script file called e.g. Vim.WB, with a single line in which the |
| 13 | Vim executable is started: |
| 14 | Echo "Vim" > Vim.WB |
| 15 | Protect Vim.WB +s |
| 16 | |
| 17 | 2. Rename the Vim icon to Vim.WB. |
| 18 | |
| 19 | 3. By default, the Vim icon is a program icon. |
| 20 | Change the icon type from "program" to "project" using IconEdit from the |
| 21 | "Tools" directory. |
| 22 | |
| 23 | 4. Change the icon settings using "information" from the WorkBench's "icon" |
| 24 | menu: |
| 25 | - The default program, of course, is "IconX". |
| 26 | - A stack size of 4096 should be sufficient. |
| 27 | - Create a WINDOW tooltype of the desired size. |
| 28 | The appropriate values depend on your WB font. |
| 29 | |
| 30 | Example: |
| 31 | On a standard non-interlaced WB screen with full overscan resolution |
| 32 | (724 x 283 ), the WINDOW tooltype "CON:30/10/664/273" results in a |
| 33 | horizontally centered window with 80 columns and 32 lines. |
| 34 | |
| 35 | Now Vim comes up with the new window size. |