TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nifty Vim Tricks

1 pointsby pauljonasabout 13 years ago

1 comment

read_wharfabout 13 years ago
<p><pre><code> YpVr= Yank line, Paste below, Select line, Replace with ‘=’ Yank the current line, paste it below, replace all characters with ‘=’. Or in other words make a Markdown heading. You can replace ‘=’ with any other character. </code></pre> Hey, nifty, I didn't know that.<p>Hey, wait, I do that every day, exactly like that, and have been doing it that way for years. I just don't think of it as YpVr=, I think "make an underline" and it happens.<p>This is why I like Vim so much, it seeps into my brain and I forget "how" to use it, and just use it.