I’m a big fan of the editor Vim and I’m amazed how I constantly find new ways to better configure it. One pain point I have when writing PHP is when I need to use a function (like array_filter() or in_array()), I can not remember the order of the parameters. I can never remember whether the the array I’m operating on goes first or second (FYI, in
array_filter() the array comes first and for
in_array() the array comes second).
PHP Manual Vim Plugin
Vim has a default behavior of when you press
Shift + k, the man page for the word under the cursor is displayed.
This behavior can be customized and the PHP Manual Vim Plugin customizes
Shift + k to bring up the PHP documentation for the word under the cursor. I’ve now added PHP Manual to my Vim configuration and I’ve been happy with this new behavior.