Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,207,766 members, 8,000,230 topics. Date: Tuesday, 12 November 2024 at 05:48 AM

I Have Switched To Vim As My Primary Editor, You Should Too - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / I Have Switched To Vim As My Primary Editor, You Should Too (4294 Views)

I Just Switched To Linux From Windows / How I Switched To Data Science From A Non IT Background - My Learning Experience / Which Is Better Vim Or Vi? Have You Ever Used Them? (2) (3) (4)

(1) (2) (3) (Reply) (Go Down)

I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 1:43pm On Jun 28, 2020
Video first, if you will grin

https://www.youtube.com/watch?v=wlR5gYd6um0

Many people have the mindset that Vim is old and makes development unnecessary hard grin grin it's quite the opposite actually; it's old yes, but no modern editor have matched it's unique method of code editing which is very very efficient once you understand it.

Many other people also believe it doesn't include the fancy bells and whistles of modern editors like auto-complete sad sad code linting n embarassed embarassed code formatting Code splitting :- cry cry. This are all lies grin grin like most editors, Vim doesn't have some of this features by default, u have to install the required language server.

And a lot of other people thinks Vim is hard to use, this one has some element of truth but it's not actually hard to use grin grin it is hard to start using, like how starting to learn programming is harder than actually programming.

Now, to why you should use it too? Using Vim actually feels like you're talking with the editor, like it actually works by taking commands from you and executing them grin grin you can command it to go up by 3 lines or right by 3 words; you ask it to change the words inside a quote, then repeat the command for every quoted word in your code, you can ask it to change a whole paragraph, or section. The interesting thing is you won't actually lift your mouse for this, infact your mouse is pretty useless when in Vim because it runs in the terminal, weird right? But not actually have to reach for your mouse every minute prevents you from having to break mental connection with your code and saves you a few milliseconds cool cool.

And every functionality can be customised to suit you or extended with a plug-in, it's a really, really nice editor.

1 Like 1 Share

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 11:23am On Jul 02, 2020
I'm now one week into using Vim as my editor, I added something new yesterday, the sidebar file explorer ���

1 Like 1 Share

Re: I Have Switched To Vim As My Primary Editor, You Should Too by EvilSec: 11:41am On Jul 02, 2020
melodyogonna:
I'm now one week into using Vim as my editor, I added something new yesterday, the sidebar file explorer ���
Vim is pretty cool and has a ton of amazing easter eggs. I once found an editor configuration that vim doesn't have. I asked on the mailing list if they could add it and they lectured me on how options are bad... in vim?! �

2 Likes

Re: I Have Switched To Vim As My Primary Editor, You Should Too by Nobody: 1:25pm On Jul 02, 2020
I think VIM is good too, but only if you use Linux, on windows setting up .vimrc is hell and in general I think it's better on Linux.

1 Like

Re: I Have Switched To Vim As My Primary Editor, You Should Too by valzey(m): 4:26am On Jul 03, 2020
Not enough reasons bro. I can't trade vscode for any other general editor, especially not vim. Giving up intellisense, debug tools, version control, extensions....etc just to feel that I'm a geek. Definitely not. Moreover vscode has terminal too.
Your reasons ain't convincing enough especially for those with large projects, collaboration...etc.

I began my programming career with gedit which was good for small programs or making changes to a project but I can't use it to begin a project. I put vim in same category.

Soon your excitement will die and you'll go back to your previous editor.

10 Likes

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 4:53pm On Jul 18, 2020
valzey:
Not enough reasons bro. I can't trade vscode for any other general editor, especially not vim. Giving up intellisense, debug tools, version control, extensions....etc just to feel that I'm a geek. Definitely not. Moreover vscode has terminal too.
Your reasons ain't convincing enough especially for those with large projects, collaboration...etc.

I began my programming career with gedit which was good for small programs or making changes to a project but I can't use it to begin a project. I put vim in same category.

Soon your excitement will die and you'll go back to your previous editor.
Funny, are you a prophet? grin grin on Thursday I decided to go back to Vs Code, at least to try using it with Vim (there's a Vim extension for Vs Code) funny enough I couldn't use Vs Code for upto an hour before quitting and moved back to Vim. Using Vs Code now, everything just kinda feels wrong, the only chance of me using it again is if I want to edit code in someone else's laptop.

Vim is more powerful than Vs Code btw, your large project analogy doesn't make any sense.

2 Likes

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 4:58pm On Jul 18, 2020
Alessandro9021:
I think VIM is good too, but only if you use Linux, on windows setting up .vimrc is hell and in general I think it's better on Linux.
Generally most programming tools is better on Linux. Some programs will even have a separate section for steps on how to install on Windows, I don't really understand how people can code on Windows if they're not making a game grin grin

1 Like

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 12:34pm On Jul 19, 2020
I have changed my OS too and my theme ...

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 1:30pm On Jul 21, 2020
cool cool

Re: I Have Switched To Vim As My Primary Editor, You Should Too by alphatron(m): 3:02pm On Jul 21, 2020
op what os is that?
Re: I Have Switched To Vim As My Primary Editor, You Should Too by bet9ja(m): 4:01pm On Jul 21, 2020
I always feel like everything is going to work whenever i'm using Vs Code.
Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 9:19pm On Jul 21, 2020
alphatron:
op what os is that?
Not a Mac grin
Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 9:20pm On Jul 21, 2020
bet9ja:
I always feel like everything is going to work whenever i'm using Vs Code.
Work how? Vs Code doesn't write the code
Re: I Have Switched To Vim As My Primary Editor, You Should Too by alphatron(m): 9:53am On Jul 22, 2020
melodyogonna:
Not a Mac grin
ik what Linux distro is that old man? smiley
Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 12:07pm On Jul 22, 2020
alphatron:

ik what Linux distro is that old man? smiley
grin grin it's Elementary OS man grin grin
Re: I Have Switched To Vim As My Primary Editor, You Should Too by hardebayho(m): 6:10pm On Jul 22, 2020
Abeg bro, which theme is this ooo? I'm using elementary OS too, buh I'm on Mate Desktop with the default theme
Re: I Have Switched To Vim As My Primary Editor, You Should Too by alphatron(m): 9:50pm On Jul 22, 2020
melodyogonna:
grin grin it's Elementary OS man grin grin
Im guessing your de is mate?
or gnome3? it shares some similarities with Mint
Re: I Have Switched To Vim As My Primary Editor, You Should Too by alphatron(m): 9:55pm On Jul 22, 2020
hardebayho:
Abeg bro, which theme is this ooo? I'm using elementary OS too, buh I'm on Mate Desktop with the default theme
I've used the mate de before, lemme try to help
* Search for Mojave theme and icons pack to give ur system the Mac os look
* Download Mac os wallpapers
* Use a dock like Cairo or plank for that Mac os panel
* Download an app like syanpse to imitate Mac is quick launcher app.
* use slingscord for your app menu (optional)

These would get u a sweet Mac is looking oa

2 Likes

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 11:07pm On Jul 22, 2020
alphatron:


Im guessing your de is mate?

or gnome3?
it shares some similarities with Mint
Pantheon actually
Re: I Have Switched To Vim As My Primary Editor, You Should Too by Dujardin(m): 11:14pm On Jul 22, 2020
OP no matter how you try to be different, no IDE can beat VSCode.
Re: I Have Switched To Vim As My Primary Editor, You Should Too by TheManOfTheYear: 12:59am On Jul 23, 2020
valzey:
Not enough reasons bro. I can't trade vscode for any other general editor, especially not vim. Giving up intellisense, debug tools, version control, extensions....etc just to feel that I'm a geek. Definitely not. Moreover vscode has terminal too.
Your reasons ain't convincing enough especially for those with large projects, collaboration...etc.

I began my programming career with gedit which was good for small programs or making changes to a project but I can't use it to begin a project. I put vim in same category.

Soon your excitement will die and you'll go back to your previous editor.
My thoughts exactly. The features of VSCode are just too awesome to give up for some old terminal based editor called Vim.

I only use a Vim emulator (Vs code extension) when I'm editing commit messages via git.
Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 9:28am On Jul 23, 2020
Dujardin:
OP no matter how you try to be different, no IDE can beat VSCode.
People who use intelliJ also say same thing, people who use Pycharm too grin grin Vs Code has a Vim emulator, why not give it a try, thank me later.

1 Like

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 9:29am On Jul 23, 2020
TheManOfTheYear:
My thoughts exactly. The features of VSCode are just too awesome to give up for some old terminal based editor called Vim.

I only use a Vim emulator (Vs code extension) when I'm editing commit messages via git.
What features are talking about exactly bro?
Re: I Have Switched To Vim As My Primary Editor, You Should Too by TheManOfTheYear: 10:11am On Jul 23, 2020
melodyogonna:

What features are talking about exactly bro?
IntelliSense (autocomplete, error highlighting, greying out undeclared variables etc)
Emmet suggestions
Code formatting
Keyboard shortcuts
...
My gee, I can go on and on
Re: I Have Switched To Vim As My Primary Editor, You Should Too by Deicide: 1:19pm On Jul 23, 2020
TheManOfTheYear:

IntelliSense (autocomplete, error highlighting, greying out undeclared variables etc)
Emmet suggestions
Code formatting
Keyboard shortcuts
...
My gee, I can go on and on
You clearly don't know about vim grin
Re: I Have Switched To Vim As My Primary Editor, You Should Too by TheManOfTheYear: 1:20pm On Jul 23, 2020
Deicide:
You clearly don't know about vim grin
I don't wanna know sef.
VSCode is all okay for me. Keep your Vim

2 Likes

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 3:19pm On Jul 23, 2020
TheManOfTheYear:

IntelliSense (autocomplete, error highlighting, greying out undeclared variables etc)
Emmet suggestions
Code formatting
Keyboard shortcuts
...
My gee, I can go on and on
Jesus Christ!! this guy finished off by calling keyboard shortcuts grin grin grin grin do you even know what Vim is at all?
Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 3:20pm On Jul 23, 2020
grin grin cool cool

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 3:22pm On Jul 23, 2020
hardebayho:
Abeg bro, which theme is this ooo? I'm using elementary OS too, buh I'm on Mate Desktop with the default theme
My theme is Dracula, the Icon park is Cupertino. Dracula will give you the Mac type window keys while Cupertino is a Mac inspired Icon park wink wink

1 Like

Re: I Have Switched To Vim As My Primary Editor, You Should Too by TheManOfTheYear: 3:59pm On Jul 23, 2020
melodyogonna:

Jesus Christ!! this guy finished off by calling keyboard shortcuts grin grin grin grin do you even know what Vim is at all?
I also use Vim guy, so I know what I'm saying.

By keyboard shortcuts I mean the flexibility with the keyboard is second to none when using VSCode.
Ability to highlight words, flexible cut, flexible copy and paste..

1 Like

Re: I Have Switched To Vim As My Primary Editor, You Should Too by Deicide: 4:01pm On Jul 23, 2020
TheManOfTheYear:
I also use Vim guy, so I know what I'm saying.

By keyboard shortcuts I mean the flexibility with the keyboard is second to none when using VSCode.
Ability to highlight words, flexible cut, flexible copy and paste..
You are not serious
Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 4:29pm On Jul 23, 2020
TheManOfTheYear:
I also use Vim guy, so I know what I'm saying.

By keyboard shortcuts I mean the flexibility with the keyboard is second to none when using VSCode.
Ability to highlight words, flexible cut, flexible copy and paste..
Lol, you don't use Vim at all if you think Vs Code is better than in Vim in those things you mentioned. How do you highlight with the keyboard in Vs Code? Shift+direction keys to the position you want, using the mouse is even far more efficient than this grin grin grin unless you're talking about highlighting everything with Ctrl+a ofcourse.

(1) (2) (3) (Reply)

Odoo Development. / Why Is Rails Adoption So Slow In Nigeria? / How Do I Make Money As A Web Developer?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 37
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.