4 ms·
I started to heavily using vim since the last few months because writing code through SSH is very attractive for my current situation. For me, learning vim is
by nirui 5y ago
I started to heavily using vim since the last few months because writing code through SSH is very attractive for my current situation.
For me, learning vim is like learning an foreign language, a few hundred words (or few hotkey/:commands for vim) can get you started, but it's not easy to reach the level of native speakers, and some old rules in your language (for example, HJKL keys in vim vs the "natural" arrow keys) will interfere your progress.
Maybe I'm going to piss many people off here, but vim is not an user-friendly text editor. An user friendly editor should pop some kind of prompt when I pressed the first g/G key and show me what I could press the next, not telling me to read :help (which probably has the volume of a dictionary at this point).
Based on my 2 minutes with Micro and the information I read from it's `help defaultkeys`, the size of it's hotkeys are more healthy and manageable. So that's a plus from me.
- williamdclt 5y agoAbsolutely agree that it's not a user-friendly text editor. It _does_ increase productivity when you're proficient. TBH being proficient took me a lot of time, mostly fueled by wanting to be cool in my first job (it failed), all in all I'm not entirely convinced it's a good investment. But being able to edit using Vim at all is very very useful to edit files on servers, which happens very often in various situations.
- randomswede 5y agoI will 100% agree that neither emacs nor vim are "beginner-friendly", I would hesitate to call them "not user-friendly", they're just very particular about what users they're friendly with.
- IshKebab 5y agoSome IDEs support full development over SSH now - VSCode and IntelliJ - so you can be freed from vim.
- 0x4d464d48 5y ago"freed from vim." ... Does not compute.
- Riverheart 5y agoThere's always VSCode with the Remote SSH plugin, unless you prefer the minimal setup.
- adamnew123456 5y ago> Maybe I'm going to piss many people off here, but vim is not an user-friendly text editor. An user friendly editor should pop some kind of prompt when I pressed the first g/G key and show me what I could press the next, not telling me to read :help (which probably has the volume of a dictionary at this point). For anyone that wants this: these kinds of plugins are usually called "which key" after the Emacs mode. Most of the Emacs distros ship with which-key by default and it works very well with evil. I get the sense that they're less popular on the Vim end, though I'm not sure why.
- chousuke 5y agoI would say that vi (at least the more modern ones) is user-friendly, but not beginner-friendly. You really do need to start by running vimtutor.
- saagarjha 5y agoEh, I wouldn't even call it that. I consider it to be similar to git: you can do some incredible things with it, and people who know how to use it can do so effectively, but there is a lot of room for improvement.
- stragies 5y agoand read an introductory text about the basic concepts like https://stackoverflow.com/a/1220118/5208540 https://stackoverflow.com/a/1220118/5208540 (2800+ Votes, not mine)
- anonova 5y ago> An user friendly editor should pop some kind of prompt when I pressed the first g/G key and show me what I could press the next, See vim-which-key [1] and which-key.nvim [2] for something similar to this. [1]: https://github.com/liuchengxu/vim-which-key https://github.com/liuchengxu/vim-which-key [2]: https://github.com/folke/which-key.nvim https://github.com/folke/which-key.nvim
- canaus 5y agoFor those add-ons, don't you have to provide them with the prompts? You still need to actively _know_ how to do something to have it provide you with information. You can use something like LunarVim which has everything already setup.
- ARandomerDude 5y agoVim is simple but not easy. https://youtu.be/rI8tNMsozo0 https://youtu.be/rI8tNMsozo0
- rackjack 5y agoVim is user-friendly the same way Unix is user-friendly: it's not. It's user-centric.
- spijdar 5y ago> An user friendly editor should pop some kind of prompt when I pressed the first g/G key and show me what I could press the next, not telling me to read :help You might be interested in the Kakoune editor. Despite being superficiality similar it's not Vim compatible, which may make it a nonstarter, and it has its own flaws that keep me from using it, but it makes a point of showing on-screen help for almost every command as you're typing.