Christiaan Kras

Enabling Bash auto-completion in Ubuntu

Virtual Private Servers are usually installed with the minimum required software. More often than not this means Bash auto-completion isn’t enabled, which is a tad bit annoying as it slows down navigation. To fix this you can install the bash-completion package. Like so: $ sudo apt-get install bash-completion

Prevent indentation when pasting from an external source in Vim

Occasionally when I copy and paste something from an external source into Vim every line gets indented, which is probably not something you want when pasting a code snippet. The solution to this problem is an easy one. Before pasting, first execute :set paste, then paste your content and to return the setting to its …

Prevent indentation when pasting from an external source in Vim Read More »

Keeping VirtualBox Guest Additions in sync with Vagrant

Whenever you’re upgrading the software packages on your VirtualBox machine, managed by Vagrant, you risk VirtualBox Guest Additions render unusable and thus your shared folders don’t work anymore. This usually happens whenever a kernel upgrade is being done which requires the VirtualBox drivers to be recompiled. Thanks to a Vagrant plugin called vbguest you can …

Keeping VirtualBox Guest Additions in sync with Vagrant Read More »

Scroll to Top