Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,522,245 members, 5,768,053 topics. Date: Monday, 03 August 2020 at 09:26 PM

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 (1135 Views)

My Vim Configuration / Best School Management System For Primary And Secondary Schools / Books For Kids (Nursery & Primary School Books) (2) (3) (4)

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

I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 1:43pm On Jun 28
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
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
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 Alessandro9021(m): 1:25pm On Jul 02
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.
Re: I Have Switched To Vim As My Primary Editor, You Should Too by valzey(m): 4:26am On Jul 03
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.

7 Likes

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 4:53pm On Jul 18
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.

1 Like

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 4:58pm On Jul 18
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
Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 12:34pm On Jul 19
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
cool cool

Re: I Have Switched To Vim As My Primary Editor, You Should Too by alphatron(m): 3:02pm On Jul 21
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
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
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
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
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
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
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
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
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

1 Like

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 11:07pm On Jul 22
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
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
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
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.
Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 9:29am On Jul 23
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
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
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
Deicide:
You clearly don't know about vim grin
I don't wanna know sef.
VSCode is all okay for me. Keep your Vim

1 Like

Re: I Have Switched To Vim As My Primary Editor, You Should Too by melodyogonna(m): 3:19pm On Jul 23
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
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
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
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..
Re: I Have Switched To Vim As My Primary Editor, You Should Too by Deicide: 4:01pm On Jul 23
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
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) (Reply)

Sun Developer Days Conference Holding In Nigeria / Biology Android App: Reviews and Suggestions are welcome / How To Integrate Suitecrm With Xero

(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 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 103
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.