LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
Search this Thread
Old 02-22-2005, 04:12 PM   #1
gypsy_rabbi
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
vim: motion to ,


Typing text in vim, ")" will take me to the next period.

Is there something that will take me to the next comma? (If the comma's on the same line of course I can say "f,", but I'm mainly looking for a way to delete to the next comma when it's on a different line.)

Thanks!
 
Old 02-22-2005, 05:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Like in
Code:
d/,
?

That will delete everything from the current cursor
position to the next comma, no matter where in the
text it is [caveat: if there's no comma after the
current cursor position it will delete to the one
before it :}] ...


Cheers,
Tink

Last edited by Tinkster; 02-22-2005 at 05:21 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
encryption with Vim (vim -x) mikshaw Linux - Software 2 03-07-2007 09:00 AM
Compiling Motion in Slackware sandugo Slackware 4 05-19-2005 05:29 PM
mouse motion xlord Linux - Newbie 1 06-14-2004 01:38 PM
In Motion... Or Not.. robhargreaves Linux - Software 1 05-20-2004 03:10 PM
Motion JPEG Encoding gbrad Linux - Software 2 06-15-2003 12:25 PM


All times are GMT -5. The time now is 02:50 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