I was looking for a quick way to reference PHP documentation from within Vim. The PHP Manual Vim Plugin allows me to do just that.
Using Vim to View Git Commits
This tweet blew my mind. $ git log | vim -R –Now press <K> on a commit hash. — Luke Diamand (@LukeDiamand) February 21, 2018 I spend a lot of my time in Vim and Git and this is an amazing combination of the two. While I love this command, I think we can do […]
WordPress Development Editor
Recently, the question came up about a good editor for WordPress development. The Editor You Know is the Best Editor WordPress development does not require any specific editor. If you already have an editor you know and like, I suggest sticking with it. If your editor is extensible through plugins or configuration, I would look […]
Vim Visual Mode Search for Selection
Sometimes you want to search for a long string in Vim. When using a GUI interface you may be able to get away with CTRL+c, CTRL+v but when you are in a terminal, it is a little trickier to use Vim Visual Mode search for a selection. Here is how to search in Vim using […]
VIM fix line-breaks
When your line-breaks are WONKY, try this. :%s/\r//g Definition of “WONKY” Some (or all) of the lines have ^M at the end of them. This is a product of mixed line endings (DOS and UNIX).