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.

Advanced Vim Registers

142 pointsby airnomadover 12 years ago

7 comments

gwsover 12 years ago
A less powerful but much simpler alternative to using the registers is the Yankring plugin (<a href="https://github.com/vim-scripts/YankRing.vim" rel="nofollow">https://github.com/vim-scripts/YankRing.vim</a>)<p>With that anything you have ever yanked or deleted is in the ring and when you paste something you can easily rotate through the items in the ring. Basically you type 'p' to paste and if that's not what you wanted you keep pressing ctrl-p until you get what you want.
评论 #5031137 未加载
bilalqover 12 years ago
This was an incredibly helpful article. Tom Ryder's written a lot of other blog posts that were really insightful and enlightening as well. I even learned how to use ed from him.
评论 #5030698 未加载
srikover 12 years ago
Always glad to see vim usage articles pop up now and then. Here's a similar HN thread from a while ago - <a href="http://news.ycombinator.com/item?id=2870024" rel="nofollow">http://news.ycombinator.com/item?id=2870024</a>
LauriLover 12 years ago
A useful article for at least intermediate VIM users.<p>Regarding the system clipboard register: in OS X 10.8 the `"+` register no longer works. Has anyone found a way to get it working again?
评论 #5030505 未加载
评论 #5030944 未加载
评论 #5031469 未加载
评论 #5032840 未加载
reyanover 12 years ago
If you want to edit your macros, (e.g., the default register q) do "qp, edit, visual select and do "qy.
dschobelover 12 years ago
wow, capital register appending is super useful. lots of good tips in this one.<p>thanks for posting this!
评论 #5030683 未加载
评论 #5030633 未加载
lavkeshover 12 years ago
I am going to buy a t-shirt which says "I use Vim"
评论 #5031233 未加载