LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-14-2004, 09:47 AM   #1
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 200

Rep: Reputation: 30
To vim expert, I need help


I've searched in help doc of vim but i can't find solution for my problem. Maybe this is just my ignorance or vim doc isn't comprehensive enough, i don't know. Anyway, my question:

How to delete highlighted search result in vim?

e.g. if i want to delete word "wolf" in file , i just search w/ command:
Code:
/wolf [enter]
right?

and then what should i type next to delete word "wolf" ?

Thanks 4 the answer.
 
Old 09-14-2004, 10:01 AM   #2
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
dw
 
Old 09-14-2004, 01:14 PM   #3
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
hi there,

this was not his question. I suppose that the idea was delete all wolf entries in a file.
So, my solution:

Code:
:%s/wolf//g

probably, there must be another 100000000 solutions for this problem.


regards

slackie1000
 
Old 11-05-2004, 05:54 AM   #4
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 200

Original Poster
Rep: Reputation: 30
Thx, slackie1000, it works!

Last edited by hottdogg; 11-05-2004 at 05:56 AM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
encryption with Vim (vim -x) mikshaw Linux - Software 2 03-07-2007 09:00 AM
need an expert BookMaker Linux - Newbie 6 07-09-2005 08:03 PM
need an expert for this one jjd228 Linux - Software 22 08-19-2004 12:51 AM
Sendmail Expert FredrikN Linux - General 3 12-28-2002 02:03 PM
Expert Please eckomark Linux - Newbie 6 11-11-2001 12:06 AM


All times are GMT -5. The time now is 10:41 PM.

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