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

Ubuntu Touch OTA-2 Rolls Out for Ubuntu Phones, Including Nexus 4 & Nexus 7 2013

The UBports community has released this past weekend the second OTA (Over-the-Air) update to supported Ubuntu Phone devices, bringing support for some old devices that were requested by the community, as well as a set of new features. Read more

Qt 5.10 Alpha in testing for KDE neon

Qt 5.10 got an alpha release last week and rumours are there’s lots of interesting new stuff for Plasma developers and other parts of KDE. Packages are available in KDE neon but hidden away in the testing repository because there is inevitably some breakage. Random bits of QML such as the clock above and Kirigami seem to be unhappy. Please do test but expect breakage and fixes to be necessary. Read more

A Quick Review Of Parabola Linux Distribution

​There is free software and then there is software that is entirely free as in freedom (libre). These distros are ready-to-use full systems whose developers have followed the Guidelines for Free Systems Distribution as put forward by the Free Software Foundation. Read
more

5 Great Linux Desktop Environments You Haven’t Heard Of

Although popular, these desktop environments (DE) are just a sample of what’s currently available. Better still, it’s so easy to make the change. Unlike Windows and macOS, you can change the desktop user interface by simply installing a new one. Unhappy with the way your preferred Linux distro looks? You don’t have to switch distros, just switch desktops! The following five desktop environments (and, to be precise, shells) are under the radar, but definitely worth a look. Read more