Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-22-2005, 05:12 PM   #1
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.)

Old 02-22-2005, 06:20 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Like in

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 :}] ...


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


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 10:00 AM
Compiling Motion in Slackware sandugo Slackware 4 05-19-2005 06:29 PM
mouse motion xlord Linux - Newbie 1 06-14-2004 02:38 PM
In Motion... Or Not.. robhargreaves Linux - Software 1 05-20-2004 04:10 PM
Motion JPEG Encoding gbrad Linux - Software 2 06-15-2003 01:25 PM > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration