I know I felt a constant social pressure to learn vim or emacs over the years in order to fit in with those religions.
I gave in to that social pressure early on. But even 30 years ago in the early 90s when I started learning vim (and Linux), vim and emacs were very dated programs. Over the course of thirty years I have managed to finally learn how to set up syntax highlighting, terminal colors, and spaces vs tabs and do a basic cut and paste operation. But the cut and paste never works in a sensible way for me and I always end up having to fix something after pasting. So I am probably still doing that wrong after thirty years. Lol. I suggest using sshfs or Docker and then you can just use a graphical client. Even gedit is a huge advantage over vim in my opinion (especially if you also have fish in another window). I like how lightweight and simple it is and I think it's really underrated. But also VSCode, Sublime, maybe Atom. Maybe WebStorm. There is nothing wrong with using nano in the terminal. It's more modern than vim and probably going to be much more productive. I recommend if you are embarrassed about using nano and someone asks, think of it as if someone asked you if you are Christian or Jewish. You can just say you are agnostic about editors, and use a modern tool. Also take a look at TextAdept in the terminal. It is customizable with Lua. I really like Jupyter Notebooks for lots of things. It's a great implementation of literate programming, especially if you take advantage of the markdown to explain things thoroughly. Of course a lot of teams are not going to like that but there are projects where you can. Back in the early 90s there was this thing called Borland Turbo Pascal which had things like mouse usage, automatic syntax highlighting, F1 for instant contextual help, an integrated debugger. Those were the days. Lol. You can configure vim to do all of those things in kind of a janky way, but it's so convoluted, I feel like they should award a PhD if you achieve that. And they don't. So it's not worth it. People love to glorify the "power" of vim commands. But it's not that way because the original author knew some secret to power editing. It's that way by default, because when it was created, commands and modes were the paradigm by default because of historical terminal limitations. A few people were still using Teletype at that time. Real-time editing was not even a thing. The terminal they initially developed vi on did not have separate cursor keys. That's why it doesn't use cursor keys, not because it's some deliberate choice they made to save time and be more "advanced". http://xahlee.info/kbd/keyboard_hardware_and_key_choices.htm... I just feel like not only are people repeating the mistakes of their fathers, but even their grandparents at this point. It's not 1978 anymore. It's 2021.
That's fine!!!
I don't think vim (esp. neovim) is janky at all, but part of it is how your brain works. If you want to use nano or vscode or whatever, there shouldn't be any social pressure.
I think it comes down to how people like to use their tools and how they like to shape their working environment. I've gotten my vim/linux machines into a place where editing code is comfortable, and I'd love to share it with people, but I understand that they may not want to do it. And that's fine! Use what works for you to get your work done!
It's not something about "how my brain works". That's a sneaky way of accusing me of being too dumb to use those editors. But the user interfaces from 35-40 years ago are bad. Objectively. Unless you are using them on the terminals from the 70s or 80s.
I am absolutely not calling you dumb! Emacs doesn't work for my brain at all, but Vim does. There are lots of tools that are made for different kinds of people and they all help us towards getting to a certain result.
I don't think it's fair to say that the user interfaces are bad, though. The defaults may be bare bones, but the point is that they are programmable environments that allow you to tailor them to your needs if you want to. That's it.
Also I actually use vim a lot more than VSCode which I have not used much.
But I also think I wasted a lot of time over the years figuring out how to use it and how to set it up. I am trying to save some people a lot of time. I actually think I am still wasting time with it and its because of social pressure to use an outdated program. Its like some kind of psychological thing that has me compelled to be irrational to fit in.
I don't think calling the subject matter the OP is trying to teach "a religion" or predicting downvotes on your comment is productive.
The 2nd is definitely against the site guidelines. To address your other comments, I can share a personal anecdote. When I started programming, I basically just learned the bare minimum VI commands to get around. I didn't see it as "a religion" or a relic from the past, but I saw a fairly steep learning curve that wasn't a high priority for me to tackle at the time. Years later, I did get into it. It's been good for me in terms of efficiency, but much more importantly, it's been good for my health. At the end of 2017, I had severe RSI and from working an extreme schedule on a startup and a poor ergonomic setup. My wrists were so injured that it hurt to even brush my teeth. I got an ergonomic keyboard, and made a concerted attempt to use the mouse as little as possible (and balance that little bit between both hands). I made VIM my primary driver, regardless of what other editor I was using. Even on web pages, I attempted to use keyboard navigation where feasible, especially in email and similar apps. As a result, I've no healed to where I do full-time weeks at the keyboard again and I will probably always be grateful to VIM (and Kinesis!)
I'm not allowed to predict the downvotes? I'm just supposed to "take it like a man"?
It absolutely is like a religion and an enormous amount of time has been wasted with people feeling they need to learn how to use these extremely outdated programs with user interfaces invented 40 years ago. I am trying to save some people some time. The fact that you are trying to stop me from doing that indicates to me that I have committed heresy. That is why you want to have my comment declared invalid. It contradicts your worldview.
Lots of people use vim just to appear hardcore and not because it confers serious editing advantage.
Vim itself is a really really bad editor. It's so obvious that it was written by a programmer with commands like 5dd, 6gg etc. I find it so ridiculous that a computer program can be that much loved and yet it doesn't even provide line numbers out of the box nor indentation. Does a person really need to spend half an hour googling just to tell vim to indent Java code as they type.
I think it does offer editing advantages, though they don’t matter that much unless you work in a sweat shop. For me it’s just fun going like “look mum, no mouse“
Comments (280) 72 threads
Show all comments
Showing thread 70 of 72
I gave in to that social pressure early on. But even 30 years ago in the early 90s when I started learning vim (and Linux), vim and emacs were very dated programs.
Over the course of thirty years I have managed to finally learn how to set up syntax highlighting, terminal colors, and spaces vs tabs and do a basic cut and paste operation. But the cut and paste never works in a sensible way for me and I always end up having to fix something after pasting. So I am probably still doing that wrong after thirty years. Lol.
I suggest using sshfs or Docker and then you can just use a graphical client. Even gedit is a huge advantage over vim in my opinion (especially if you also have fish in another window). I like how lightweight and simple it is and I think it's really underrated. But also VSCode, Sublime, maybe Atom. Maybe WebStorm.
There is nothing wrong with using nano in the terminal. It's more modern than vim and probably going to be much more productive. I recommend if you are embarrassed about using nano and someone asks, think of it as if someone asked you if you are Christian or Jewish. You can just say you are agnostic about editors, and use a modern tool.
Also take a look at TextAdept in the terminal. It is customizable with Lua.
I really like Jupyter Notebooks for lots of things. It's a great implementation of literate programming, especially if you take advantage of the markdown to explain things thoroughly. Of course a lot of teams are not going to like that but there are projects where you can.
Back in the early 90s there was this thing called Borland Turbo Pascal which had things like mouse usage, automatic syntax highlighting, F1 for instant contextual help, an integrated debugger. Those were the days. Lol. You can configure vim to do all of those things in kind of a janky way, but it's so convoluted, I feel like they should award a PhD if you achieve that. And they don't. So it's not worth it.
People love to glorify the "power" of vim commands. But it's not that way because the original author knew some secret to power editing. It's that way by default, because when it was created, commands and modes were the paradigm by default because of historical terminal limitations. A few people were still using Teletype at that time. Real-time editing was not even a thing.
The terminal they initially developed vi on did not have separate cursor keys. That's why it doesn't use cursor keys, not because it's some deliberate choice they made to save time and be more "advanced".
http://xahlee.info/kbd/keyboard_hardware_and_key_choices.htm...
I just feel like not only are people repeating the mistakes of their fathers, but even their grandparents at this point. It's not 1978 anymore. It's 2021.
I think it comes down to how people like to use their tools and how they like to shape their working environment. I've gotten my vim/linux machines into a place where editing code is comfortable, and I'd love to share it with people, but I understand that they may not want to do it. And that's fine!
Use what works for you to get your work done!
I don't think it's fair to say that the user interfaces are bad, though. The defaults may be bare bones, but the point is that they are programmable environments that allow you to tailor them to your needs if you want to.
That's it.
Continue this thread — 5 replies
But I also think I wasted a lot of time over the years figuring out how to use it and how to set it up. I am trying to save some people a lot of time. I actually think I am still wasting time with it and its because of social pressure to use an outdated program. Its like some kind of psychological thing that has me compelled to be irrational to fit in.
The 2nd is definitely against the site guidelines.
To address your other comments, I can share a personal anecdote. When I started programming, I basically just learned the bare minimum VI commands to get around. I didn't see it as "a religion" or a relic from the past, but I saw a fairly steep learning curve that wasn't a high priority for me to tackle at the time.
Years later, I did get into it. It's been good for me in terms of efficiency, but much more importantly, it's been good for my health. At the end of 2017, I had severe RSI and from working an extreme schedule on a startup and a poor ergonomic setup. My wrists were so injured that it hurt to even brush my teeth.
I got an ergonomic keyboard, and made a concerted attempt to use the mouse as little as possible (and balance that little bit between both hands). I made VIM my primary driver, regardless of what other editor I was using. Even on web pages, I attempted to use keyboard navigation where feasible, especially in email and similar apps.
As a result, I've no healed to where I do full-time weeks at the keyboard again and I will probably always be grateful to VIM (and Kinesis!)
It absolutely is like a religion and an enormous amount of time has been wasted with people feeling they need to learn how to use these extremely outdated programs with user interfaces invented 40 years ago.
I am trying to save some people some time. The fact that you are trying to stop me from doing that indicates to me that I have committed heresy. That is why you want to have my comment declared invalid. It contradicts your worldview.
In the guidelines (https://news.ycombinator.com/newsguidelines.html):
> Please don't comment about the voting on comments. It never does any good, and it makes boring reading.
Vim itself is a really really bad editor. It's so obvious that it was written by a programmer with commands like 5dd, 6gg etc. I find it so ridiculous that a computer program can be that much loved and yet it doesn't even provide line numbers out of the box nor indentation. Does a person really need to spend half an hour googling just to tell vim to indent Java code as they type.