How to make Vim user-friendly with Cream

The Cream add-on makes the Vim text editor easier to use by putting a more familiar face on its functionality.
579 readers like this.
Dialing the right mix: open source principles and collaboration

Opensource.com

About 10 years ago, I split my text editing time between Emacs and Vim. That said, I was and definitely still am an Emacs guy. But while Emacs has always had an edge in my affections, I know that Vim is no slouch.

So do other people—even those who, like me, are all thumbs technically. Over the years, I've talked to a few new Linux users who wanted to use Vim but were a bit disappointed that it doesn't act like the text editors they've used on other operating systems.

That disappointment changed to satisfaction when I introduced them to Cream, an add-on for Vim that makes it easier to use. Cream turned each of them into diehard Vim users.

Let's take a look at Cream and how it makes Vim easier to use.

Getting going with Cream

Before you can install Cream, you'll need Vim and GVim GUI components installed on your computer. I find the easiest way to do that is to use your Linux distribution's package manager.

Once you have Vim installed, grab the installer for Cream or, again, turn to your distribution's package manager.

Once Cream is installed, you can fire it up by selecting the entry from the application menu (for example, Applications > Cream) or by typing cream into your program launcher.

Cream's main window

Using Cream

If you've used GVim before, you'll notice that Cream doesn't change the editor's look and feel too much. The biggest cosmetic differences are Cream's menu bar and toolbar, which replace the stock GVim menu bar and toolbar with ones that look and group functions like their counterparts in other applications.

Cream's menus hide a lot of the more techie options—like the ability to specify a compiler and the Make command—from the user. As you get more familiar with Vim by using Cream, however, you can make more of those features more easily accessible by selecting an option from the Settings > Preferences > Behavior menu. With those options, you could (if you want to) wind up with an editor that behaves as a hybrid of Cream and traditional Vim.

Cream isn't only driven by its menus. While the editor's functions are only a click or two away, you can also use common keyboard shortcuts to perform actions—for example, CTRL-O (to open a file) or CTRL-C (to copy text). There's no need to shift between modes or remember Vim's somewhat cryptic commands.

With Cream running, get to work by opening a file or creating a new one. Then start typing. A couple or three of the people I've introduced to Cream have said that while it retains much of the classic styling of Vim, Cream feels more comfortable to use.

Cream add-on for VIM in action

That's not to say Cream dumbs down or waters down Vim. Far from it. You still retain all of Vim's features, along with a long list of others. Some of the features of Cream that I find useful include:

  • A tabbed interface
  • Syntax highlighting (especially when working with Markdown, LaTeX, and HTML)
  • Auto correction of spelling mistakes
  • Word count
  • Built-in file explorer

Cream also comes with a number of add-ons that give the editor some additional features. Those features include the ability to encrypt text and to clean up the body of emails, and there's even a typing tutor. To be honest, I haven't found any of the add-ons to be all that useful. Your mileage might vary, though.

I've heard a few Vi/Vim purists pooh-pooh Cream for "dumbing down" (their words) the editor. Let's be honest: Cream isn't for them. It's for someone who wants to quickly get up and running with Vim while retaining the look and feel of the editors they're used to. In that way, Cream succeeds admirably. It makes Vim a lot more accessible and usable to a wider range of people.

That idiot Scott Nesbitt ...
I'm a long-time user of free/open source software, and write various things for both fun and profit. I don't take myself all that seriously and I do all of my own stunts.

4 Comments

I'm going to have to try that. I have been using 'nano' lately on Raspian and Ubuntu, but this looks like a great option.

I tried out Cream years, when it was still actively developed. It's a great idea, but pretty much abandonware at this point.

Wow. Really? Cream for people thath think GVim is too complicated?
I suggest they just use gedit or some other gui-base editor.
If they can't grok gvim, then there is not much hope for them advancing to vims other functions and configurations.

Vim already has built-in file explorer, syntax highlighting and tabs. Vim has a steep learning curve, but it really pays off once you master the basics. If you need a "friendly" version of vim, is best to use something like Atom in vim mode (last time I checked there was a "vim mode" but it was a long time ago)

Also, one advantage of vim is that is pretty much everywhere, but if you are using completely different key mappings, you won't be able to use vanilla vim in other machines.

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.