{"componentChunkName":"component---src-templates-blog-post-jsx","path":"/content/posts/vim-is-not-a-monster","webpackCompilationHash":"0fb77888eafce0e19778","result":{"data":{"markdownRemark":{"frontmatter":{"title":"Vim is not a monster."},"html":"<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto;  max-width: 590px;\"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/cdaba824e1bcf5b39ea7594414391e95/aacd8/commodore.jpg\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 86.46408839779006%; position: relative; bottom: 0; left: 0; background-image: url('data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAARABQDASIAAhEBAxEB/8QAGAABAAMBAAAAAAAAAAAAAAAAAAECBAP/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAHXm7QbUiLhQH//xAAcEAEAAgIDAQAAAAAAAAAAAAABAAMCEhAREyT/2gAIAQEAAQUCuXzFLJbpt80x6yDhn//EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQMBAT8BH//EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQIBAT8BH//EACAQAAEDAgcAAAAAAAAAAAAAABEAASECEBIgMUJRgZH/2gAIAQEABj8Cg9KkY9ZNmaoRytvjotk//8QAGxAAAgIDAQAAAAAAAAAAAAAAAAEhMRFBURD/2gAIAQEAAT8hSe5tLoYMew8eMjrtIloGPbBQRY//2gAMAwEAAgADAAAAEKAIAP/EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQMBAT8QH//EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQIBAT8QH//EAB0QAAMAAgIDAAAAAAAAAAAAAAABESExUWFxsfD/2gAIAQEAAT8Ql97C4VzJ0V0wSNw8ZpWOyorLSvEUZgid8cDOq9U0mveTWaPybT//2Q=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Commodore\"\n        title=\"Commodore\"\n        src=\"/static/cdaba824e1bcf5b39ea7594414391e95/c739e/commodore.jpg\"\n        srcset=\"/static/cdaba824e1bcf5b39ea7594414391e95/8ee9c/commodore.jpg 148w,\n/static/cdaba824e1bcf5b39ea7594414391e95/ebbe7/commodore.jpg 295w,\n/static/cdaba824e1bcf5b39ea7594414391e95/c739e/commodore.jpg 590w,\n/static/cdaba824e1bcf5b39ea7594414391e95/5413e/commodore.jpg 885w,\n/static/cdaba824e1bcf5b39ea7594414391e95/aacd8/commodore.jpg 1086w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n      />\n  </a>\n    </span></p>\n<blockquote>\n<p>The first time I heard about Vim I didn’t even know what it was. I started to\nsearch about that and asking around … and in general people avoid to use that.\nSome say it is time consuming learning vim, others don’t want to suffer,\nothers say that you can really make your workflow more efficient, but in\ngeneral, people don’t want to go into it.</p>\n</blockquote>\n<h2>Why I Choose Vim</h2>\n<p>The rumours about the “end” of the Atom made me start thinking that I should\nstart using VS code, but I wanted to try something different. In the company\nwhere I work, there’s a lot of people using Vim, and that made me more curious\nabout learning it. Two weeks ago, I had the opportunity to have a vim session\nwith a Vim enthusiast, but before starting, he asked me if I really, really\nwanted to do it. He warned me that I would face a reasonable level of\nfrustration … but that didn’t keep me from doing it.</p>\n<p>Vim was not completely strange for me. Before this session, I already knew some\nbasics that I learned by using Vimtutor. To practice what I learned on vim tutor\nand while using Atom, I installed a vim plugin to start using some commands. The\nexperience was surprisingly nice. Without a dramatic change in my workflow, I\ncould try it, but soon I saw a problem with that.</p>\n<p>By using a vim plugin, I never got out of my comfort zone, and I could always\nstill use the code editor as I used it before. Sometimes I found it confusing to\nhave two ways to use the editor (the atom way or the vim way), and as a matter\nof laziness, I opted to keep using my regular shortcuts. But, if I wanted to\njump into Vim, the better way to do it is used it and configure it.</p>\n<p>That was the turning point, and since then, I’m forcing myself to use Vim\nexclusively. I know that it will slow down my workflow for a while, but I\nbelieve that soon, I will know enough to use Vim to my advantage.</p>\n<h2>Pain points and findings</h2>\n<p>After I made this decision, and because I’m a frontend developer, I started\nlooking for a vim setup that fulfilled my frontend needs, and I found one.\n<a href=\"https://github.com/VictorVoid/vim-frontend/\">VictorVoid</a>.</p>\n<p>At that time, I thought this was awesome, and I started using it. After that vim\nsession, my friend advised me to uninstall that ready setup, and start with the\nessential plugins. I had so many plugins installed that I didn’t know what their\nfunctions were. I only knew that everything was working. I also realize that the\nfewer plugins I have, the better, and some commands are personal. Along with\ntime, I will create my commands if I feel like it. It has been almost a month\nsince I started using Vim. I’m still struggling and I probably will for a while,\nbut I see some improvements already. Besides that, I’m improving my skills on\nthe terminal, and I started collecting information to “create” my .dotfiles and\ngit-scripts.</p>\n<h2>Some tips to learn vim</h2>\n<p>Use post-its to learn the commands, and put them on the bottom of your screen.\nRemove them once you have these commands in your memory and you don’t need to\nlook at the post-its anymore, Simple!!</p>\n<p>In fact, this is useful for other things too, like memorizing git scripts.</p>\n<p>→ <a href=\"https://www.thoughtbot.com/upcase\">I found a cool tutorial from Thoughtbot</a></p>\n<p>→\n<a href=\"https://www.youtube.com/channel/UCXPHFM88IlFn68OmLwtPmZA\">Youtube channel with nice screencasts</a></p>"}},"pageContext":{"isCreatedByStatefulCreatePages":false,"pathSlug":"/content/posts/vim-is-not-a-monster","previous":{"frontmatter":{"path":"/content/posts/from-chemical-to-frontend"}},"next":{"frontmatter":{"path":"/content/posts/tnds-challenge-week"}}}}}