First of all, let’s make things clear. VIM does not stand for Very Intuitive Magic. It’s not easy to learn and it’s like going to the gym. You have to be consistent and use it daily to see the results and keep in shape once you are fit.

But why is it so confusing for most of the people? It is a modal editor, and every mode has its own key bindings. By default VIM opens in «normal mode», which won’t allow you to type. You have to get into «insert mode» pressing the «i» key to be able to insert text, but you could also place the cursor on a character and press «r» to replace it with whatever you typed next, or you could press «o» to create a new line and enter «insert mode» at the same time, etc. You have to remember what every key does in every mode, and you’ll only achieve this with practice. That’s what makes VIM different.

Why bother?

So why would anyone try to break the learning wall and master VIM? Some will say it’s just to prettend you are cool, but they couldn’t be more wrong. There are some features that make the VIM user objectively faster than any other editor user.

No mouse

The first one is the fact that you don’t have to use the mouse for anything. Think about how many times you use the mouse to move around a document in any other editor and sum all those precious miliseconds. It’s a lot at the end of the year.

Changing an “IF” condition and adding an “IF” in 10 seconds

Hands always in standard position

It’s not only that you don’t use the mouse, but you actually don’t have to move your hands out of the standard position, meaning that you don’t need to use arrow keys, or other keys outside the normal reach.

Preinstalled

It comes preinstalled in almost every decent operative system, so you don’t have to go through the hassle of downloading it every time you change your computer or want to edit something somewhere else.

Runs in Console/Terminal

It runs GUIless, in a Terminal or Console, so if you are working on a development project running servers, scripts and commands, you don’t have to switch context. You can feel at home even when editing files in remote servers. This means you can even access and use VIM from a smartphone with an SSH app.

Editing the itnig website in a Mac, with and iPad, through SSH

Lightweight and fast

It’s lightweight and fast, super responsive and never crashes. It takes 60ms for it to open a file containing the 131843 lines of the Holly Bible.

100% Customizable

If there is something you don’t like just change it. The .vimrc config file lets you customize the behaviour of your editor and confortably replicate your settings between setups. If there is something missing, just install it as a plugin.

Macros and scripts

You can actually record your commands to automatise repetitive tasks. Imagine you have a data file you want to make JSON compliant. By recording what you want just once, you can replicate it as many times as you need.

Making a data set JSON compliant by recording and playing a macro

And if that’s not enough for you, you can write scripts using VIM Script and customize your VIM even more.

How fast can you type all IP’s in a local network in your editor?

With just a few lines you can for example create your custom syntax highlighting toggle, and use a shortcut to activate it.

VIM syntax toggling script https://www.ibm.com/developerworks/library/l-vim-script-1/

Breaking the wall

The best way for learning VIM is using it for everything. From writing documetation to typing code in every project you have. Start with the basic commands: i, :wq, dd, p, hjkl.

You can try this awesome Zelda-like game to learn how to use VIM.

Keep using it, because you’ll never feel you know it enough.

I hope this gave you the essentials to start exploring the eternal possibilities of VIM. Feel free to comment below if you have experience using it yourself, the more tips the better. When you master VIM, I can guarantee that you’ll never use any other editor again. Enjoy!

 

Previous ArticleNext Article

Leave a Reply

Your email address will not be published. Required fields are marked *

V.

VCs come into action — Breakdown of Spanish investment activity of January 2018

January closes with €195.3 million investments in Spanish startups within 24 operations

  • The Spanish entrepreneurial ecosystem is maturing thanks to investment rounds of more than €10 millions.
  • Barcelona and Madrid continue leading the Spanish ecosystem.


This is the first in a series of posts in which we will do an analysis of the Spanish startup investment landscape. We will look at the overall funding numbers and trends in the country month by month and compare it with data of the previous year.

What are the Spanish investment activities like on a month to month basis? What deals and volumes are we talking about? At what stages are startups prone to search investment and which regions in Spain attract the most funding?

The year 2017 brought us plenty in terms of innovation and investment activity within the area of technological startups, although Spain has been driven by political problems. The developments we have seen in 2018 so far are picking up at just the same fast pace.

January has closed with €195.3 million investments in Spanish startups within 24 operations. Of these funding rounds, highlights are the round of Cabify, Hawkers and Redpoints :

  • Cabify: The ride-hailing app that competes against Uber, has raised €143.3 million ($160) Series E funding round from a mix of previous and new investors, including Rakuten Capital, TheVentureCity, Endeavor Catalyst, GAT Investments, Liil Ventures and WTI, as well as prominent local investors from Spain and Latin America.

When analyzing the structure of financing deals, the increase in venture capital activity in Jan-18 is noticeable in comparison with Jan-17.

#Deals and volume in the Spanish startup investment landscape in January


In terms of the number of deals closed, we have seen a slight downward trend in the country. With a broad participation of Venture Capital, there have been less deals but more capital invested in each transaction. The reason for such a boost is mostly the gigantic financing round of Cabify with participation of giants’ VCs like Rakuten Capital, TheVentureCity and others.

The entry of European, American and Japanese funds investing in Spanish startups are accounting for a large percentage of the growth of the investments in Spain. At the same time, this global investment rise is making the average value of the financial rounds soar up to more than 1.5 times that of the previous year (without taking account of Cabify’s investment, that would turn this factor to more than 6 times the previous year)

The differences between January-2017 and January 2018 in terms of the increase in venture capital activity is shown below:

Startup investment deals by size of round


As we expected to see, the number of operations closed by investment size tends to a larger number in larger deals. While the number of deals of €500k or less have decreased considerably, the number of larger deals have gone up notably. This might be understood as an increasing number of companies maturing and reaching later stages of funding.

To properly ensure the aforementioned, in the following figure we show the breakdown of the investment activity by year of foundation of the company:

Startup investment activity (Jan-18) by year of foundation


Our previous statement is reinforced by this figure. The large transactions take place on established companies. In general, the more years a startup survives, the more established it is. As we observed, in average, the startups that were previously founded are those who raised more funding. That makes sense because normally an older startup has a bigger team and unless it has reached breakeven, it will need more funds to survive.

Startup investment deals by Region



Regarding the breakdown of startup investments by region, Barcelona, Madrid and Valencia bolster their position in the top of Spanish regions:

  • Cataluña (mostly in Barcelona) stands with 9 deals closed and an investment of €19 millions
  • Madrid gathers 7 deals and an investment of €148 million (€143 million in Cabify)
  • Valencia up to 3 deals and €23 million (€20 million in Hawkers)

Operations January 2018: