LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-15-2012, 08:06 AM   #16
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850

Well ) "ad2f, "bd4w which means go to the next sentence, delete up to the second , (comma) and store in buffer a then delete up to the third word and store in buffer b. You can past the buffers with "ap and "bp respectively.

And you could also count 'd' up to the last character of "avoid" and use d4fd (delete up to the fourth 'd').

Markus

Last edited by markush; 12-15-2012 at 08:11 AM. Reason: typo
 
1 members found this post helpful.
Old 12-15-2012, 08:47 AM   #17
jack_
Member
 
Registered: Oct 2012
Location: /
Distribution: Slackware, Debian, Ubuntu, CentOS, OpenSuse
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
Well ) "ad2f, "bd4w which means go to the next sentence, delete up to the second , (comma) and store in buffer a then delete up to the third word and store in buffer b. You can past the buffers with "ap and "bp respectively.

And you could also count 'd' up to the last character of "avoid" and use d4fd (delete up to the fourth 'd').

Markus
thanks alot,
i did this:
1)place cursor from where you want to start copy and press me
2)place cursor to end of block which you want to copy and enter :"bye
3)press p to paste and you are done.

by this method i can avoid counting.
thanks alot again for helping me.

Last edited by jack_; 12-15-2012 at 08:48 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




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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration