Vim editor
FreeBSD

FreeBSD: how to enable clipboard on Vim

If you have asked yourself “how to enable clipboard on Vim?” or “is it possible to access the system clipboard on Vim?“, the answer is: yes. This is how you can do it. Note: in this example I’m using FreeBSD, but the principle is the same in other *nixes. First, you need to get sure that you installed Vim package…

Continue Reading

Vim editor
Linux, PHP

Vdebug: Xdebug not showing full array contents

Have you ever tried to debug some PHP code in Vim just to find that Xdebug won’t show the full array contents? Fortunately the DBGP protocol allows you to set features for debugging, such as the max length of data that the debugger returns. You can set these features in the Vim dictionary g:vdebug_features, and they will be sent to…

Continue Reading