Name:
[9521] Justin Lilly
Member:
24 months
Authored:
7 videos
Description:
I'm a web developer / designer specializing in Python & Django. Find more about me at http://justinlilly.com ...
Vim % operator [ID:845] (3/7)
in series: An Introduction to Vim Macros
video tutorial by Justin Lilly, added 08/08
Name:
[9521] Justin Lilly
Member:
24 months
Authored:
7 videos
Description:
I'm a web developer / designer specializing in Python & Django. Find more about me at http://justinlilly.com ...
Our authors tell us that feedback from you is a big motivator. Please take a few moments to let them know what you think of their work.
This is a tutorial on some of the interesting uses for the % in vim. It has two main functions. One in non-editing mode and one in ex mode. To watch the uncompressed version, head over to my blog at http://justinlilly.com
Got any questions?
Get answers in the ShowMeDo Learners Google Group.
Video statistics:
- Video's rank shown in the most popular listing
- Video plays: 1046 (since July 30th)
- Plays in last week: 9
- Published: 24 months ago
Thank-yous, questions and comments
If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?
You may also want to see our ShowMeDo Google Group to speak to our active users and authors.
All comments excluding tick-boxed quick-comments
I am enjoying the VIM tutorials. Thank you very much, sir!
Great tip, learned something new!
cool tutorial. you mentioned using % in codes. but how about in python? Python have no brackets. so we won't be able to jump around using that.
Could you please make a tutorial explaining the basic setup of Vim on Mac - how to setup the environment? customize the look using .vimrc file? how to enable vertical split screen? And any other general tips that could make the life of a beginner/novice easier.
@anonymous Yes, that works because you specify a line range for that command. :1,8s/find/replace/g would replace on lines 1 through 8. by adding the % operator there, you're telling it you want it to search through the entire file.
I use the % with for regular expersions like :%s/find/replace/g
The ShowMeDo Robot says - this video is now published, thanks for adding to ShowMeDo.
