block-chain-3513216_1920

Vim tips: Using Vim mappings and abbreviations

Vim ships with a lot of useful functions that make life easier when you’re editing text, but Vim is also an extremely extensible editor. If you find yourself typing the same long commands or strings of text over and over again, it’s time you learned how to set mappings and abbreviations in Vim, to save valuable keystrokes for your code or prose. Just as you can set shortcuts in KDE, you can map keystrokes to actions in Vim....

June 14, 2006 · 8 min · zonker
ball-4789466_1920

Vim tips: Folding fun

The problem with writing and editing on a computer, versus having words on paper, is that it’s usually hard to compare text from different sections of a document when they don’t fit on the screen together. One way to do it is to use Vim’s viewports feature. Another is to “fold” the text. Using Vim’s folding features, you can tuck away portions of a file’s text so that they’re out of sight until you want to work with them again. Here’s how.

May 24, 2006 · 10 min · zonker
Abstract image of AI

Vim tips: Moving around using marks and jumps

Editing in Vim can be a breeze, if you know how to make use of its more advanced features. Moving around files can feel like a slog if you’re stuck with the basic movement keys, but editing is effortless when you have command of marks and jumps. Basically, a mark is a bookmark or placeholder that allows you to return to a spot in the file where you were editing. This can be handy when you’re working on longer projects, whether you’re writing a long paper, making changes to your Apache configuration, or writing code....

May 17, 2006 · 9 min · zonker
Terminal text / abstract

Vim tips: Using viewports

A lot of folks use Vim, but many exploit only a small percentage of the editor’s features. Sure, you might know how to do the basics in Vim, but what about using more advanced features such as folding, split windows, and marks? With a little practice, you can really boost your productivity with Vim. In this and future articles, I’m going to cover Vim features that you may not be familiar with if you’re a casual Vim user....

May 10, 2006 · 6 min · zonker
vim-logo-png-transparent

First look at Vim 7

The final release of Vim 7 is just around the corner, and it brings a number of new features to the venerable editor, including spell checking, omni completion for several programming and markup languages, tab pages, undo branches, and several other features that are worth upgrading for. To test Vim, I compiled the 7.0f beta release on Ubuntu Breezy and used it for my day-to-day work for several days. I had been using Vim 6....

May 2, 2006 · 7 min · zonker
Image of lead press type

How to make money writing, the query letter (or email…)

Prior to taking the job I have now as editorial director for Linux.com, I was a freelancer for about six years, writing for Linux Magazine, Enterprise Linux Magazine, UnixReview.com, Linux Weekly News, IBM developerWorks, ZDNet, and a few others. I thought I’d share a few tips here that might help prospective authors get a little work on the side, or maybe even start up a freelancing career of their own....

April 22, 2006 · 4 min · zonker
Terminal text / abstract

Two years with WordPress

I started this blog in 2004, with WordPress 1.0. The domain is older than that, I ran Dissociated Press using a few other blogging tools, like phpWebLog, Slash, and (briefly) Blosxom, but WordPress is the only tool that I’ve been consistently happy with. (Which is not to say that it’s perfect or anything, but it’s been very, very good.) The WordPress folks released WordPress 2.0 last month, and I’m pretty impressed with the new features and improvements....

January 3, 2006 · 1 min · zonker
Screen Shot 2021-02-17 at 9.06.34 PM

What Jerks…

Okay, so I read on Slashdot (is a link really necessary?) that Microsoft has put up a program called FlexWiki under an Open Source license… a real OSI-approved license, not just some evil license that they’re calling Open Source. Well, you don’t see that every day, so I head over to the site to check it out. Now, if you’re not familiar with Wikis the concept is that (by default) anyone can edit them....

September 28, 2004 · 2 min · zonker

The Open Road: Ethereal

This month, I’m going to wrap up discussion of network troubleshooting tools. So far, I’ve covered netstat, tcpdump, and ngrep and sniff. This month, I’ll discuss Ethereal, a tool for browsing network traffic interactively and analyzing network traffic. To put it more emphatically, Ethereal is the all-singing, all-dancing, packet-inspecting tool that all admins should have in their software toolboxes. Ethereal is capable of capturing packets for analysis or reading saved packet captures in a number of common formats....

August 24, 2004 · 5 min · zonker
Image of lead press type

Jargon mumble synergy!

How is it that companies that spend millions on product development seem incapable of hiring someone who can write clear, concise product descriptions? Been working on a project for the past week that involves churning through tons of product descriptions from various companies. I can say with authority that the products, if they are selling well, are selling despite the marketing materials. This also goes for press releases. Just in case any of the folks who are writing this copy happen to read this site, here are a few tips:...

June 9, 2004 · 3 min · zonker