Language Selection

English French German Italian Portuguese Spanish

Vim tips: Using Vim mappings and abbreviations

Filed under

Vim ships with a lot of useful functions that make life easier when you're editing text, but Vim is also an extremely extensible editor. If you find yourself typing the same long commands or strings of text over and over again, it's time you learned how to set mappings and abbreviations in Vim, to save valuable keystrokes for your code or prose.

Just as you can set shortcuts in KDE, you can map keystrokes to actions in Vim. A mapping can be as simple as creating an abbreviation that converts your initials to your full name, or something more complicated, like running a function when you press F10. Let's take a look at mappings, and how they can make you much more productive when working in Vim.

Full Story.

More in Tux Machines

Erle-Spider, the Ubuntu Drone with Legs Needs Your Help to Become a Reality - Video

We've talked a lot about the upcoming Ubuntu-powered drone with legs, called Erle-Spider, from the Erle Robotics team, who just demoed the device live earlier today, October 13, on Canonical's UbuntuOnAir YouTube channel (see the video below). Read more

Best Quality and Quantity of Contributions in the New Xen Project 4.6 Release

I’m pleased to announce the release of Xen Project Hypervisor 4.6. This release focused on improving code quality, security hardening, enablement of security appliances, and release cycle predictability — this is the most punctual release we have ever had. We had a significant amount of contributions from cloud providers, software vendors, hardware vendors, academic researchers and individuals to help with this release. We continue to strive to make Xen Project Hypervisor the most secure open source hypervisor to match the security challenges in cloud computing, and for embedded and IoT use-cases. We are also continuing to improve upon the performance and scalability for our users, and aim to continuously bring many new features to our users in a timely manor. Read more

Liquorix Kernel Benchmarked Against Linux 4.2, Linux 4.3 Kernels

Recently there were a number of requests about testing the latest state of Liquorix, the self-prcolaimed "better distro kernel" that is an optimized version of the Linux kernel with extra patches that makes it optimal for desktop, multimedia, and gaming workloads. Here's some fresh Liquorix vs. mainline Linux kernel performance benchmarks. Read more