skip to main
|
skip to sidebar
Daily Vim: Text Editor Tips, Tricks, Tutorials, and HOWTOs
A blog dedicated to text editing and general exploration of computing knowledge
Friday, November 30, 2007
Search Motions
You can use a search as a motion in conjunction with an operator. Say you have the following sentence:
A quick brown fox jumps over the lazy dog.
Vim (and Vi for that matter...) allow you to do things such as:
y/over
(yanks "a quick brown fox jumps" into the default register)
c/over
(puts you into insert mode with the sentence "over the lazy dog")
d/lazy
(leaves you with the sentence "lazy dog")
etc...
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Donate
Donate Bitcoins
Blog Archive
►
2014
(3)
►
January
(3)
►
2013
(14)
►
December
(2)
►
November
(6)
►
October
(6)
►
2009
(74)
►
December
(4)
►
November
(18)
►
October
(6)
►
September
(3)
►
July
(2)
►
June
(10)
►
May
(1)
►
April
(9)
►
March
(6)
►
February
(3)
►
January
(12)
►
2008
(143)
►
December
(6)
►
November
(5)
►
October
(6)
►
September
(15)
►
August
(25)
►
July
(6)
►
June
(16)
►
May
(15)
►
April
(22)
►
March
(16)
►
February
(9)
►
January
(2)
▼
2007
(20)
►
December
(4)
▼
November
(16)
Shifting
Search Motions
Fast Select All
Text Objects
Filtering
Mouse Support
Ex Commands
GOTO File Under Cursor (not harmful)
Color Schemes
Time Travel
Command Line History
Diagraphs
Paste Text from OS Clipboard
Copy Text to OS Clipboard
Macro Registers
Hello World
Subscribe To
Posts
Atom
Posts
Comments
Atom
Comments
No comments:
Post a Comment