The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Check for FTP completion ChicagoBlues Shell Programming and Scripting 1 02-28-2008 03:52 PM
Tab completion in csh James McMurray Shell Programming and Scripting 3 12-12-2007 06:31 AM
Job Completion Information? davidfrank UNIX for Dummies Questions & Answers 3 08-02-2007 02:08 PM
Tab completion gubbins GNUless UNIX for Dummies Questions & Answers 2 08-15-2006 08:40 AM
Tab Completion on Solaris 10 annointed3 UNIX for Dummies Questions & Answers 2 01-04-2006 06:25 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-05-2007
Registered User
 

Join Date: Aug 2007
Posts: 18
Thumbs down line completion in vim

how we achive line completion and word completion in vim editor?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-05-2007
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,420
Not sure what "line completion" means. But for word completion, try C-x C-p. File completion: C-x C-f.
Reply With Quote
  #3 (permalink)  
Old 09-06-2007
Registered User
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 187
Hope these wil help you alot...in vi or vim editor

w move right one word or group of punctuation marks
b move left one word or group of punctuation marks
W move right one word
B move left one word
E move to the end of a word

0 move to the beginning of current lune
$ move to the end of current line
RETURN move to first non-white space character at beginning of next line
-(minus) move to first non-whitespace character at beginning of previous line
H move to top line on screen
L move to bottom line on screen
M move to middle line on screen
G move to end of file
x G moves to line number x
/ move to first character in line marked with / move to previous location
(counteracts G or simple search)


THanks !!
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0