4 ms·
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
by ilaksh 6y ago
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.html 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.
- necrotic_comp 6y agoThat'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!
- ilaksh 6y agoIt'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.
- necrotic_comp 6y agoI 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.
- ilaksh 6y agoOk, I'm sorry but I believe you are incorrect. People do not have different brains that way. Just like they don't have different 'learning styles'. That sort of thing is a discredited myth. I also think that it is objectively true and not only fair but also important for people to start to point out how bad these interfaces are. At some point traditions start to become a drag on society. One of the core principles of user interface design is useful defaults. And there are many better modern editors with equal amounts of programmability as well as useable and useful defaults.