DEV Community

Cover image for Vim .. best code editor ?

Vim .. best code editor ?

Bek Brace on February 20, 2021

Vim, a text editor for writing code where you navigate around the screen with your keyboard instead of a mouse. It's based on the original Unix tex...
Collapse
 
eljayadobe profile image
Eljay-Adobe

I've been using Vim for 25 years. I can't figured out how to quit.

Collapse
 
ocidenttal profile image
Mauro Torres

I can't even make a "hello world" using Vim, give me one week cus I'll figure out

Collapse
 
francescadev profile image
Francesca

😂 I got lost in VIM in the beginning and was initially scared to go back in for fear I might not get out.

Collapse
 
krrishdhaneja profile image
Krrish Dhaneja

Can you please tell me how to download a vim plugin?

Collapse
 
barelyhuman profile image
Reaper

the manual way needs a lot of commands, you can instead setup something like VimPlug and then just name the github repository and vimplug will download it for you.

github.com/junegunn/vim-plug

here's the repository for it

Collapse
 
bekbrace profile image
Bek Brace
Collapse
 
ocidenttal profile image
Mauro Torres

You can install it manually (which require vim script and boring stuff) or use a plugin manager for Vim, I recommend vim-plug (github.com/junegunn/vim-plug)

Collapse
 
bekbrace profile image
Bek Brace

Friends have answered already, I arrived late :)

Collapse
 
krrishdhaneja profile image
Krrish Dhaneja

Lol!😂

Collapse
 
gealber profile image
Gealber Morales

I've been using Vim almost one year. At first it was a painful, really, but right now I don't feel comfortable using another Text Editor. Anytime I try to scape from Vim, end up trying to use the keyboard shortcuts learned in Vim😂

Collapse
 
bekbrace profile image
Bek Brace

I know what you mean :)

Collapse
 
jackosh profile image
Ruslan Rybak

Use vscode vim plugin to get vim key bindings in Vscode
github.com/VSCodeVim/Vim

Collapse
 
gealber profile image
Gealber Morales

Yes I tried it too, but my machine is very old and vscode takes a lot of time to just start up. That's one of the reason I started with Vim, given the fast start up and performance in general. I'm not saying that vscode is slow. It is just that when you have vscode, Postman, Chrome, maybe another Electron based application, all at the same time opened is not so pleasure. My machine start crying 😭😭😭. And having this three application opened is not so uncommon or at least not for a web developer.

Collapse
 
anargu101 profile image
Anthony Arostegui

The feature I look for is a good debugger tool like vscode. I have to editin vim editor but then open vscode to debug. I found out vimspector but it has some crashes does not perform very well. Does anyone know a good debug tool for vim?

Collapse
 
alexsaplacan profile image
AlexSaplacan

Depends on what language you are coding, I write python code and I find the python debugger being enough.

Collapse
 
bekbrace profile image
Bek Brace

I totally agree with you, I myself don't use VIM in writing code, but for editing and only when needed, otherwise i use VScode

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Does anyone know a good debug tool for vim?

print /s

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

but why would you ever want to use a keyboard-based text editor in 2021 if you have a lot of easy to use mouse-based IDEs?

This is like asking "would you ever want to code on a desktop PC in 2021 if you have a lot of easy to use smartphones?"

I've used vim as my one and only editor for years now and I wouldn't trade it for anything else (even stuff that has vim bindings, honestly).

Collapse
 
bekbrace profile image
Bek Brace

I understand you, totally
I myself started to code in Basic language in 1989 on my ATARI 800xl, and I got used to work solely with a keyboard, then with the appearance of Ms-DOS I was feeling very comfortable, and when I started working on win 3.1 , I had no idea what I am doing - so I understand perfectly being attached to a keyboard :) - cheers

Collapse
 
francescadev profile image
Francesca

I 💗 VIM !!!!!!!!!!!!!!!

Collapse
 
idchef profile image
Tymoteusz Kossek