Editor wars: the revenge of vim

Al, like a lot of you out there, thinks that he “knows how to use vi”. I’m here to tell you that he doesn’t. And unless you’ve spent the last few years alone in a cave high in the Himalayas, with only food, drink, a laptop, and Vim Golf, you probably don’t either. Heck, I don’t consider myself a Vim master, but I’m going to write this overwrought essay praising it (using Vim, naturally). ...

11 de septiembre de 2016 · 1 min · 79 palabras · Nacho Cano

Writing Plugins for gedit 3 with Python

This is a guide to programming plugins for gedit 3, the default text editor for GNOME 3. gedit 3 uses the Libpeas GObject plugin system and the plugins can be written using C or Python. This guide will only cover writing plugins with Python. » micahcarrick.com

23 de mayo de 2012 · 1 min · 46 palabras · Nacho Cano

Never use hard tabs

As there seems to be some confusion when hard tab characters (ASCII code 9) are appropriate in source code files here is a rule: ​1) Never use hard tabs ​1. 1) Unless your source code is hard tab sensitive (only such format I know is Makefile) » opensourcehacker.com

20 de mayo de 2012 · 1 min · 48 palabras · Nacho Cano

Vim: revisited

I’ve had an off/on relationship with Vim for the past many years. Before, I never felt like we understood each other properly. I felt that the kind of programming I’m doing is not easily done without plugins and some essential settings in .vimrc, but fiddling with all the knobs and installing all the plugins that I thought I needed was a process that in the end stretched out from few hours to weeks, months even; and it the end it just caused frustration instead of making me a happier coder. Recently, I decided to give Vim another shot. This time around it was different – something in my brain switched and now for the first time in my life I’m proud of my knowledge of Vim. My philosophy of it has changed to ”less is more”, my approach was more disciplined and my motivation stronger. And so you don’t spend as much time learning as I did, I am going to lay down some fundamentals. ...

20 de mayo de 2012 · 1 min · 167 palabras · Nacho Cano

Learn to speak vim – verbs, nouns, and modifiers!

Using vim is like talking to your editor in ’verb modifier object’ sentences, turned into acronyms. » yanpritzker.com

14 de mayo de 2012 · 1 min · 18 palabras · Nacho Cano

The grammar of VIM

Like a lot of people, I have gone retro when it comes to editors, using Vim for most of my day to day work. I’ve been doing most of my development these days in a terminal window, logged directly into a VM where I test my code. » rc3.org

14 de mayo de 2012 · 1 min · 49 palabras · Nacho Cano