From there, you’ll be able to grab any other key easily. They are the starting points for your hands. The keys a, s, d, f and j, k, l, are called the row keys. The first rule you need to learn is placing your hand correctly: The room for progression is huge, even if it’s pretty quick and easy to learn the basics. It’s very fulfilling to see your typing improving day after days, months after months, even years after years. As a developer, the keyboard is one of the most important! That said, it’s still nice to feel in control of your tools. We all agree that thinking, for a developer, is more important than knowing how to type. If you already use these techniques, that’s great! You can directly go to the next chapter. You won’t focus on your keyboard anymore.You’ll be able to increase your speed and accuracy over time.You’ll type faster and more accurately.That’s why I deeply believe that before learning Vim, you should learn basic typing techniques. If you want to build a complete Mouseless Development Environment, you might be interested by this book. The power comes from it, and Vim is perfect for you to harness and unleash this power. Your keyboard is the real brother-from-another-mother here. You like it because you’re deeply used to it, for a very long time.Īsk yourself: why on earth, if the mouse was so perfect, your favorite IDE has 341324 keyboard shortcuts? Maybe because using your keyboard is faster? Easier? More efficient? More comfortable? Your mouse is a bit like an implant a doctor would have put on your body at a very young age, telling your parent that it’s the best device to do something on a computer. I see you’re afraid: your mouse is like your third hand! It’s so useful and easy! Why would you not use it? One of the advantage of Vim is to let your hands on the keyboard, without the constant need to grab your mouse. Vim allows you to forget your hands and let you really focus on the most important thing: what you’re writing. When I decided to learn Vim, I wanted to do it right. Prerequisites: The Power Is In Your Fingers Let’s dive into the wonderful world of Vim together. That’s great, because it means that the possibilities of this editor are beyond infinity.ĭoubtful? Follow me. Vim gurus, coding in the Himalaya for hundred of years, can’t even pretend knowing everything about Vim. It’s easy to learn to edit any file, but it’s hard to master. Practicing what you’ll learn in this article is the key for you to really understand how Vim works and why it’s so popular, even decades after its creation.ĭon’t think that Vim is hard to learn. I would recommend to take a step by step approach here.Īt the beginning, you can try to use Vim to edit some configuration or other text files. The goal of this article is not to replace your IDE with Vim from one day to another. What Vim’s options are and how to manipulate them.Īfter that, you’ll speak about Vim with experience and confidence, even if it’s for saying: “naaaah, Vim is not for me!”.The basic Vim shortcuts (keystrokes) for you to be efficient as quickly as possible, with some tips to remember them easily.This is one of the main reason why Vim is so crazy. Even if you don’t use Vim, these techniques have many benefits for any developer. They are essential if you want to unleash Vim’s latent power. How to learn quickly good typing techniques.More specifically, we’ll see in this article: That’s why I would like to share with you today how I learned the very basics of Vim. But when I tried to learn to use Vim, when I tried to understand how it works - not only learning two shortcuts randomly - I fall in love. I can’t blame them: I had exactly the same bias years ago. How can somebody judge something without seriously trying it? At the same time, they have a strong opinion about it. Still, some developers don’t try to understand what Vim is about. To me, Vim is the gamification of coding. They can learn a new and really fun way for creating and editing content.Vim can edit very large text files without slowing down, like huge log files for example.They can customize Vim like crazy, to match their personal needs and preferences.They can easily edit files on remote systems or in docker containers when only Vi (the ancestor of Vim) or Vim is available.Many CLIs use Vim-like key bindings, like Less for example.The result? Me, explaining to Dave and others gathering around my desk, that learning the basics of Vim can be beneficial to anybody: It wasn’t the first time I’ve heard this sentence. “Vim is not for me!” shout out Dave, my colleague developer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |