-
Recent Posts
Archives
Tags
animals body California CLI cooking cycling ebooks End Pavement England essays family food gaming Grown Diaries GTD health hiking history Inland Empire learning Linux Los Angeles Mac movies MPotD music outdoors photography poetry Project Gutenberg railroads reading San Bernardino science SF soccer society space sports tech TED transit TV Vim writingRecent Comments
Other Projects
See Projects page for descriptions of current and older projects.
Tag Archives: Vim
Happy 20th Birthday, Vim!
Today marks the 20th anniversary of my personal favorite text editor, Vim. Ars Technica has a great article marking the occasion and talking about some Vim history in “Two decades of productivity: Vim’s 20th anniversary” The Vim text editor was … Continue reading
Dotfiles
I’ve got a dotfile repository started and now public, which you can reach either via the menubar at the top of the page, or directly at this URL. At the moment, I’ve got my RSS feed subscriptions, my bashrc, and … Continue reading
Learning tmux
I’ve been experimenting with tmux the last couple of weeks, using it as a combination drop-in for screen, and for terminal multiplexing all the CLI programs I am also experimenting with as replacements for their GUI equivalents (more on this … Continue reading
Tagged CLI, ELinks, Linux, mutt, Newsbeuter, screen, Taskwarrior, tech, tmux, Vim, Zim
Leave a comment
Your brain on Vim
“This is Your Brain on Vim”, a hilarious blog post by Kevin Watters, tracing some of the evolution your brain goes through incorporating the awesomeness that is the best text editor ever. ;D
Continue readingI was watching a violinist bow intensely and I had this thought: I probably have as many brain cells devoted to my text editor as he does to playing his chosen instrument. Is it outlandish to imagine that an MRI of his brain during a difficult solo wouldn’t look much different than mine while manipulating abstractions in that blissful near-fugue state where you’ve mastered your editor and you can create towering structures of mostly-working-out-of-the-gate code as fast you can think?
Tagged tech, Vim
Leave a comment
TwitVim: Twitter in Vim

Bwa ha ha:
TwitVim is a Vim plugin that allows you to post to Twitter and view Twitter timelines.
“The geeky-awesome sensors are off the charts, captain!”
New version released last week.
See also:
Continue reading
Tagged tech, Twitter, Vim
Leave a comment
How to insert or replace text on multiple lines simultaneously in vim

Let’s say you have a text file with a list of to-do items, like this:
* Download iX rar file
* Charge iPod
* Install iX on iPod
* Return Ender's Game to library
* Track down The Snake's Pass by Bram Stoker
* Write post on vim editing trick
In order to better organize and sort the list as you view it, you want to add a [PROJECT] “tag” to each line:
* [PROJECT] Action
Now, to edit your original list, you could go down each line and edit manually. You could even use the . (period) trick and make the same change to each line as desired. But to really speed things up, try this.
- Put your cursor where you want to add the text; in our case, we’ll start at the “D” in Download on the first line. Since the first three items in our list belong to the same “IPOD LINUX” project, we’ll take care of ‘em all at once.
- Type
CTRL-v - Move your cursor down two lines (
jj) to indicate where the changes will be made. - Type
I(capital letter I) - Make your changes; it will only show up on the first line while you’re editing.
- When you’re done with the changes, hit
ESC— your edit will be propagated down three lines. - Repeat as necessary.
This leaves us with:
* [IPOD LINUX] Download iX rar file
* [IPOD LINUX] Charge iPod
* [IPOD LINUX] Install iX on iPod
* [READING] Return Ender's Game to library
* [READING] Track down The Snake's Pass by Bram Stoker
* [BLOG] Write post on vim editing trick
For more, see:
- Vim Tips Wiki: “Inserting text in multiple lines”
- iX Project
- The Snake’s Pass
Tagged tech, Vim
Leave a comment
surround.vim
Via yesterday’s Vimcasts episode, “Converting markdown to structured HTML with a macro”, check out this most-excellent Vim plugin:
Surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
Surround.vim is all about “surroundings”: parentheses, brackets, quotes, XML tags, and more. The plugin provides mappings to easily delete, change and add such surroundings in pairs. While it works under Vim 6, much of the functionality requires Vim 7.
Anybody editing HTML or other markup can definitely use this.
Continue reading
Tagged HTML, markup, tech, Vim
Leave a comment