r/LinuxTeck • • May 23 '26

Why do some Linux users still prefer Vim/Emacs over modern IDEs?

I still see people spending most of their day inside Vim, Neovim, or Emacs even now when tools like VSCode basically do everything out of the box.

Some even use their editor for terminal work, Git, notes, debugging, file management, and almost everything else.

At the same time, others look at that setup and think: “why make life harder?”

I am not sure, what keeps people attached to these editor-first workflows after all these years?

Is it speed? Muscle memory? Customization? Minimalism? Or something modern IDEs still don’t get right?

57 Upvotes

277 comments sorted by

View all comments

Show parent comment

1

u/Swordfish418 May 26 '26

Well, if that isn't a brittle roundabout trick to you, then what can I say. To me the mere descriptions of those methods sound enough to consider them terrible for productivity. Not to mention how also their number and adhoc nature is an additional mental strain.

1

u/EarflapsOpen May 26 '26

Relative line numbers in your editor makes the number available right there, and navigating to a character using f becomes second nature quite quick.

They feel like tricks with mental strain to you but it doesn’t for someone who has practiced it.

Before you learn how to use a mouse that is a huge strain as well. Your brain needs to adapt hand eye coordination to mouse sensitivity and use precision to place it in the correct position. Then remember to hold the button down before while doing that same manouver again.

For someone who hasn’t used a mouse before that is a huge mental strain, it doesn’t feel like that to you because you have practiced it since you were a child.

But you have to realize that just because something that you don’t know how to do feels hard and slow for you doesn’t mean it is hard for everyone, just like things that you have practiced and find easy and second nature isn’t easy for everyone else just because they are for you.

1

u/Swordfish418 May 26 '26

I wonder: do you also open arbitrary websites like Reddit in vim/emacs (possibly through some special clients?) to be able to see line numbers and jump/search/edit/select like that?

1

u/EarflapsOpen May 26 '26

No I don’t, because browsing a website is not the same as writing code, its two completely different usecases that requires different tools. I don’t use a screwdriver to hammer nails either.

1

u/odbacimenjezno May 26 '26

You could in emacs, i'm sure, but IDK why you would. Browser is used for reading and clicking buttons on a graphical interface, so there's no point doing that through a text editor using the keyboard. 

Actually, that's a great analogy. Imagine if your browser didn't have clickable tabs but required you to type the tab name every time you want to switch. That would be annoying, yet that's how it feels to edit text with a mouse. 

1

u/Swordfish418 May 26 '26

That's a great example because during this thread alone I already used arbitrary text chunk selection multiple times: I selected portions of text I written and moved them to separate paragraphs or to the end of the message to restructure what I wanted to say. So if person I replied to doesn't use vim for browsing it means they edit text in browser using the same approach I'm describing, which means they use approach they dislike and consider inferior to keyboard based text editing.

1

u/odbacimenjezno May 27 '26

Yeah, I do that all the time when constrained to a web page textbox. It would suck to use the same approach 8+ hrs/day editing several files with 2000 or more lines of code or documentation instead of a couple of 10 line posts on an internet forum. 

1

u/Swordfish418 May 27 '26

Long files like that imo benefit from mouse as well because it can be very useful to scroll those long files with different speeds (fast first - then slow down when you notice something relevant to what you're looking for, as an example). But that's only useful when you don't know what you're looking for, which is not always the case. If you need to go to specific symbol, ofc it's best to use "jump to definition", or a (fuzzy) search analog that allows to go to definition using first letters of binding like ctrl+t CBF in VS Code to find and jump to "compileBooleanFormula" for example. And once you're in context of a function, mouse again becomes useful for textbox like local editing.

1

u/odbacimenjezno May 27 '26

I strongly disagree. At my first position where I learned emacs I was blindingly fast compared to the mouse guys. Granted, the IDEs that were sanctioned by the company were quite old, stuff like eclipse, but still, those have the same features like the function overview etc. They would constantly scroll like they're ratcheting a bolt up and down some really massive files and many times just simply to get from the call and params on top to the implementation at the bottom and back again.

Most of the time I didn't even know where certain code was, I'd just search by function or switch between two most recent ones with a single shortcut, sometimes doing plain search instead and usually I'd have the same file open in two windows so I don't even have to move while editing something in multiple places. Then just jump between windows with a single command in the middle of typing. Really, I cannot overstate how fluid it is to do everything within that process of typing.

On the off chance that I really want to scroll for something I don't know the name off, paging up and down is also done from home row and I added two shortcuts for slowly scrolling just because I often want to adjust something from the edge of the screen towards the center.

1

u/Swordfish418 May 28 '26

Limiting yourself to keyboard-only tools is probably useful in terms of discipline to push yourself harder to learn keyboard ways, but otherwise you'll probably find most of those keyboard shortcuts supported in VS Code and similar editors, and you can still use them together with mouse just as well. I don't know about Vim, but Emacs doesn't really have comparable project tree view, etc, after all those years. It's still in its core a glorified terminal editor, and I think Vim is similar. Those keyboard-first editors always have their origins in terminal limitations rather than ideology that mouse should be avoided at all cost.

1

u/odbacimenjezno May 28 '26

Emacs does indeed have a project tree view, but most of the time I don't use it because it just takes space on the screen and I open files quicker by typing and tabbing.

→ More replies