Language Selection

English French German Italian Portuguese Spanish

Vim tips: Using Vim mappings and abbreviations

Filed under
HowTos

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

Red Hat's OpenShift Container Platform openly shifts storage into the hands of devs

Enterprise Linux biz Red Hat has revised its OpenShift Container Platform to include support for dynamic storage provisioning in local and remote applications. The software is an on-premises platform-as-a-service product that allows organizations to run applications using Kubernetes orchestration and Docker containers. Read more

Mozilla rebrands with clever new logo and open source design principles

Mozilla is a very important organization for the open web. While Firefox's share of usage has not been lighting the world on fire lately, Mozilla is much more than just a web browser developer. It often fights for the rights of web users. Since it is a not-for-profit organization, you can be fairly confident that its intentions are pure. Read more

Open Source Serverless Computing Frameworks, and Why They Matter

Serverless computing is fast becoming one of the hottest trends in the channel since the cloud. What is the open source ecosystem doing to keep pace with the serverless trend, and why does it matter? Here's a look. Read more

Arch Linux on a Lenovo Yoga 900

Dell charges $1650 for a similar XPS 13 albeit with the next generation of Intel chip. The current model of Yoga is the 910, and that laptop costs $1300. However, I didn’t even consider it because they screwed the pooch on the keyboard. Lots of reviews start with the color and feel of the materials on the outside, but I’m going to start on the keyboard layout. Read more