# apt-get install rig $ rig Maureen Cummings 614 Spring County Blvd Phoenix, AZ 85026 (602) xxx-xxxx
Tuesday, January 21, 2014
Generating Mock Userdata
I often find myself needing to generate dummy data when doing software projects. The rig command-line utility makes it easy to do so.
Tuesday, January 14, 2014
Removing Lines that Don't Match a Pattern
Following up on a previous tip, you can also use the "g" and "d" commands to remove lines in your current buffer that don't match a specific pattern. The following example would remove all lines that don't match "www.example.com".
:g!/www\.example\.com/d
Monday, January 6, 2014
Finding and Replacing Unicode Characters
If you'd like to find a particular multibyte character, you can do the following.
/\%u001cYou can also do a find and replace as you normally would.
%s/\%u001c//g
Subscribe to:
Posts (Atom)