Linux
« Previous Entries Next Entries »Intro to Vim Tip #2 (deleting)
Monday, July 10th, 2006Deleting in vim can be done several ways- in insert mode, the delete key and backspace key perform as you’d expect them to, but what if you want more?
delete the character to the left of the cursor:
[esc]d[left arrow]
delete the character to the right of the cursor:
[esc]d[right arrow]
deleting the current line from insert mode:
[esc]dd
deleting the current [...]
Intro to Vim Tip #1
Monday, July 10th, 2006Vim is a great tool, but using is can be a pita in the beginning- hence, we go through the basics. There are several command modes, but we’ll only discuss a few at first: Command Mode and Insert Mode.
Command mode is used to perform actions like saving, searching, etc. Insert mode is used to insert [...]
recursing vimrc
Wednesday, June 21st, 2006I use vim a lot. a *LOT*. One thing that really annoys me is page width. When I’m writing code, I like to have a width set to 78 characters. But in some instances, say when I’m working on a book, I like the width set to 90 characters since it’s easier to [...]
Dependencies of Dependencies in FreeBSD
Wednesday, May 3rd, 2006Something that is really aggrivating the hell out of me is FreeBSD’s package management system. I’ve heard people go on and on about how it’s the best out there, but frankly I’m unimpressed.
The main reason for this is there is no way to determine ALL of the dependencies that are going to be installed [...]
Useful Utility: sed
Wednesday, March 29th, 2006Sed is a powerful utility for going regexes on the fly. Regular Expressions (regex) are beyond the scope of this artcle, but I’ll try to write one later. As I go, I’ll explain the regexes I use, but you really should learn about them because they’re handy as hell in many different utilities.
First up, [...]
instablity
Monday, March 27th, 2006I don’t know if BSD can smell the gnu in my blood or what, but it is seriously putting up a fight. As I mentioned in the previous post’s followups, I got kde working finally- however every time I pop open Konqueror and hit slashdot, the entire machine locks solid. Not just konqueror, not [...]
Useful Utility: whereis
Tuesday, March 14th, 2006Whereis is an older utility- it’s functionality shows us of a time when a program not only had a man page, but also stored the source on the machine in question. That’s becoming more rare as programs like firefox come into play- firefox, for example, has no man page and doesn’t install the source [...]
FOSE Review
Friday, March 10th, 2006So yesterday a coworker came up to me and asked if I wanted to go to FOSE- I have a vague idea it was a government tech convention, but that’s about it. Since I have a Gov’t ID badge, I was able to get in for free.
So Cris(the boss), David and Terrance went into DC [...]
Debian Stable maintainer quit…
Friday, March 10th, 2006My friend k_f sent me a link containing the resignation of the debian stable maintainer. I can completely see where he’s coming from- the Debian crowd seems to have collected all of the antisocial jerks over the years. I sent him the following letter of support:
Hi there, I caught your post to [...]
Useful Utility: chown
Thursday, March 9th, 2006Since I covered chmod last week, I figured I should touch upon chown this week. chown is infinitely less complex than chmod because you don’t have to worry about actual permissions. chown is mainly used by root, but I suppose it could be used by others as well, although it will happen much less often.
chown [...]