Tag Archives: vim

converting a search to a replace in vim

I just googled something I’ve always wanted to know how to do in vim, and was surprised how quickly I found the answer. In vim, there are separate modes for searching and commands. This generally works well as they have … Continue reading

Posted in uncategorized | Tagged , , , | 4 Comments

vim’s lcd command

I find vim’s :lcd command to be quite useful. For a long time I didn’t use it, mainly because I didn’t understand how it works. First, using it is simple. It works just like :cd. You type :lcd path/to/directory in … Continue reading

Posted in uncategorized | Tagged , , | 5 Comments

vim: change current directory

I like using the excellent FuzzyFinder plugin for vim. It’s usefulness is heavily dependent on keeping the current directory what I want, though, because otherwise I could do a lot of drilling. I found that I needed a better way … Continue reading

Posted in uncategorized | Tagged , | Comments Off

vim: remapping cc to ?

I used to dread having to search backward in vim, because that meant scrunching my right pinky and ring finger next to each other to hit ?. So I remapped it. I used cc because I don’t use cc to … Continue reading

Posted in uncategorized | Tagged | Comments Off

A brief journey back into to emacs-land

In an earlier post, I said that I am no longer going to deny myself the pleasure of dabbling in different editors. It was my interpretation of the “use one editor; use it well” mantra I got from the pragmatic … Continue reading

Posted in uncategorized | Tagged , , | 2 Comments