Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-05-2010, 08:35 AM   #16
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 715Reputation: 715Reputation: 715Reputation: 715Reputation: 715Reputation: 715Reputation: 715

o (lowercase letter) = create new line below current and enter insert mode

O (capital letter) = create new line above current and enter insert mode

$ = move to end of line

0 (zero) = move to beginning of line

^ = move to first non-whitespace character of current line (convenient when working with indented text)
1 members found this post helpful.
Old 12-05-2010, 08:52 AM   #17
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,454

Original Poster
Rep: Reputation: 51
Very fine of you, MTK358. I'm always postponing a systematic study of the elements of vi/vim which I think, can be done by careful examination of the help files and exercises designed by oneself.


command_mode, eol, vim

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programing Question: Reading file line by line.. then char by char in each line adriumroot Programming 8 05-30-2010 02:55 AM
[SOLVED] How to get the cursor position line at the mid of the windows in vim? cola Linux - Newbie 5 03-28-2010 11:18 AM
How to make VIM change cursor shape when it is in inserting mode. since1993 Linux - Newbie 1 10-01-2009 07:59 PM
Bringing Up Command Line\prompt hondagetter Linux - General 3 09-04-2005 07:13 AM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 02:28 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration