14

Is it worth to learn vim? I mostly write code in JS and currently using VSCode so I wonder if it is worth spending the time to learn how to properly use vim

Comments
  • 2
    VScode is amazing, right? Integrated terminal and all? Thing is, git uses Vim on terminal interactions, which you will inevitability need to revert weird changes. The Git gui won't save you. So yes, if only for that reason, learn enough Vim to edit, save, and exit.

    - a nano user
  • 1
    vs code is awesome

    if you wana give vim a try in vs code there is a plugin for it, go install it and get the best of both the world

    I can dam tell you that learning vim has a curve to it, but you will never regret time spent on it. You can move around as fast as you think once you become a master of it 😀
  • 1
    There is not much to learn about vi. You only need to know how to exit
  • 1
    @chadd17 I already know how to do these things and I have already needed them when working with git. But I wonder if it's worth to use vim as main editor for everything
  • 0
    If I am honest since learning it I haven't really made much use of it. WebStorm seems to do all I need. Only really use vim on servers and when waiting for WebStorm to launch in the mornings.
  • 3
    @Letmecode Tbh I was expecting you to comment something like this.
    I also want to switch to arch linux (I already have some experience with ubuntu). So would you recommend me to learn vim before setting up arch on my notebook?
  • 0
    @mightyleguan first, welcome to the arch masterrace dude 😎 (just kidding)
    Now... Well imo to install arch u wont need vim... Nano shud b enuf.
    However, i started with vim coz i cudnt find any IDE comparable to visual studio on windows...
    Now? Cant find anything comparable to vim... Really the work gets done so much faster especially for not big projects (small applications) atleast for me right now... But then, m still a newbie (started 2 days ago)

    I use C++ btw
  • 2
    @Electrux :D
    I guess I will (like letmecode already said) learn the basics of vim now and when I finally have arch installed on my notebook I will to learn vim fully
  • 0
    @mightyleguan great! Enjoy the arch installation! U wont see of it much becoz u wud hate it and swear to never have to do it again...
    But then u cud b like me and enjoy that too :P :D
  • 2
    @Electrux I have read the installation guide on the official documentation website and it looks like you have to setup everything using commands, I am really excited to do that but I also hope that I won't destroy my notebook
  • 1
    @chadd17
    git config --global core.editor "emacs"

    No need to use vim with git
  • 0
    @ddephor thanks for the specifics
    I will totally use it (and forgive the subtle emacs plug) but I wanna point out that it's the default. On any system, with any program. Yes, you can reconfigure, but chances are, you will run into Vim at some point because it's a default.
  • 0
    You should learn vim! BTW, the best command there is is this: "<ESC>:q!<ENTER>emacs<ENTER>"
  • 0
    @mightyleguan what notebook? And well i use my MSI gaming laptop with linux and that works haha
  • 1
    @Electrux I am going to buy a Dell XPS 15 in a few months
  • 0
    @mightyleguan wow!! That is awesome!!! U gonna get it with a discrete gpu?
  • 0
    @chadd17 Forget about defaults. If you're a developer, you should build your environment to your needs and not let your environment dictate what you have to use.

    Eception from this rule may be proprietary devices where you encounter a fixed environment. But even there you can often change a few things to the better.
Add Comment