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.
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 […]
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 […]
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 […]
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).