From Vim to Emacs+Evil chaotic migration guide

I’ve been using Vim for 18 years, and for me it was the only option for serious text work (like programming or writing) because I’m totally addicted to modal text editing to the point that I feel crippled when I’ve to edit text in a non-modal editor. You may argue that programming is not about how fast you write and you would be right, but if you can imagine somebody programming on an on screen keyboard on a tablet, you know how modal editor users feel about non modal edition.

But as many Vimmers, I was always curious about Emacs (the enemy in the editor flamewars!), it’s operating-system-in-a-window and the Lisp virtual machines concepts but the non-modal editing and the low quality of the existing modal editing modes compared with Vim made me keep a sane distance from it.

But then, Evil-mode happened…

[Read on...]

Spelling in Vim

Since version 7.0 Vim includes a spelling corrector without the need of installing any plugins. The usage is pretty simple once you have configured some shortcuts in your vimrc, for example I have:

nmap  :setlocal spell spelllang=en_en<cr>
nmap  :setlocal spell spelllang=es_es<cr>

This makes the spelling correction to start when I press Control+s (for Spanish) or Control+g (for English). If this is the first time you enable spelling for some language, it will download a dictionary.

If we use gVim, the spelling marks errors with a little curved underline like word processors (in text mode it will change the background color of the mispelled words). Also like in word processors, the spelling works in real time once enabled.

Some common spelling commands:

  • zg: add the word under the cursor to the dictionary
  • [s y ]s: move to next/previous spelling error
  • z= : show spelling suggestions for the word under the cursor

We can see all the commands with “:help spell”. To disable spelling we write “:set nospell”.

tags: [ articles · software libre · linux · programacion · vim ]

Some Awesome Vim Plugins

Let’s explore some awesome plugins for the most awesome editor, Vim.

[Read on...]

Mi vimrc a octubre de 2010

Pincha para ver mi última versión del vimrc comentado.

[Read on...]
tags: [ software libre · linux · programacion · vim ]

Como tener un IDE completo usando Vim (Vimsual Studio)

Este artículo es un escueto resumen-chuleta que nos permitirá configurar rápidamente el editor Vim como un IDE completo, incluyendo:

  • Navegador de ficheros de proyecto
  • Navegador de símbolos del lenguaje (clases, métodos, miembros…)
  • Navegador de ficheros externos
  • Autocompletado inteligente
  • Pestañas
  • Navegador de ficheros recientes
  • …y más.

Pincha abajo para leer el artículo completo.

[Read on...]

« Previous 1 2 Next »