Go Back  Mac-Forums.com  > Software > OS X - Darwin and Development > VI Question, PC to MAC switcher

Reply
 
LinkBack Thread Tools
Old 07-03-2005, 01:29 AM   #1 (permalink)
Ilnyckyj

 
Member Since: May 08, 2005
Posts: 46
Ilnyckyj is on a distinguished road
VI Question, PC to MAC switcher

on the pc, when you enter vi and you want to change modes, you press insert. there is no insert key on my powerbook. what am i to do?
Ilnyckyj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 07-03-2005, 06:16 AM   #2 (permalink)
Kokopelli
Guest
 
Posts: n/a
I always hit <esc> then the command mode and i to go into insert mode.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 07-03-2005, 08:36 AM   #3 (permalink)
Ilnyckyj

 
Member Since: May 08, 2005
Posts: 46
Ilnyckyj is on a distinguished road
Quote:
Originally Posted by Kokopelli
I always hit <esc> then the command mode and i to go into insert mode.
what command do you type to go into insert mode?
Ilnyckyj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 07-03-2005, 09:43 AM   #4 (permalink)
pc_max_mixer
Guest
 
Posts: n/a
I am a newbie to Macs but I am familiar with Unix/Linux and vi so here you go.

esc is used to come out of insert mode.
If you don't hit it you will keep typing .
i is used to insert text.

Here is a list of vi commands for UNIX

http://www.cs.rit.edu/~cslab/vi.html

Among the most useful are

:w
:q
u- very useful indeed, Undo last action.

Last edited by pc_max_mixer; 07-03-2005 at 09:47 AM.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 07-03-2005, 03:10 PM   #5 (permalink)
Kokopelli
Guest
 
Posts: n/a
I am a unix guy as well. Taking a peek through the man file (never heard of using <insert> to enter/exit insert mode) I ran across vimtutor. Type vimtutor at the command line. I did not bother going through it but it seems to take you through the different commands in an easy to understand manner.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question for Mini Mac owners - Software related dj_white_rice Apple Desktops 3 02-16-2006 10:49 AM
what line is best?? easy question for mac users lsutiger123 Switcher Hangout 7 06-23-2005 07:49 PM
question about mac mini and os x dragokatzov Apple Desktops 2 06-21-2005 11:19 AM
Question about my new Mac.... Strykerz_1 Switcher Hangout 11 04-19-2005 07:43 PM
Mac mini Monitor question Giansaz Apple Desktops 1 02-21-2005 03:33 PM

 
 
 
     
Home Calendar Get New
     

Hosted by LiquidWeb


Copyright ©2001-2010 Mac-Forums.com. All Rights Reserved. A division of iNET Interactive.

Other iNET Interactive Sites: Web Hosting Talk | Swish Talk | Hosting Catalog.com| Dev Papers| Deleted Domains| Hot Scripts

Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.