3 ms·
Vim isn't a CLI based editor. An editor like ed is. Vim isn't the only editor with shortcuts. Many of the IDEs listed come with pretty of shortcuts and you can
by charcircuit 4y ago
Vim isn't a CLI based editor. An editor like ed is.
Vim isn't the only editor with shortcuts. Many of the IDEs listed come with pretty of shortcuts and you can configure more if you want. Those editors also let you use shortcuts without having to switch through different modes making you more efficient.
- gsinclair 4y agoWithout wanting to sound condescending, you don’t understand modal editing. Working in different modes accelerates rather than retards efficiency. It’s worth knowing about for intellectual curiosity, even if you don’t care to use it. Google “you don’t grok vi” for a quick and interesting read.
- charcircuit 4y ago>Google “you don’t grok vi” for a quick and interesting read. None of this requires a separate mode to do. Modifier keys have been shown to be enough to give commands for doing operations other than inserting characters.
- throwaway_au_1 4y ago>Those editors also let you use shortcuts without having to switch through different modes making you more efficient. The modes are what makes editing in Vim efficient.. you don't think Vim users are out here swapping through modes looking for the one that lets them paste a line do you?
- charcircuit 4y agoYes. Instead of just control + v they have to switch out of insert mode and into normal mode, then do a command to paste their clipboard, then have to do a command to go back to insert mode. It's overcomplicated.
- jonas-w 4y agoThey just press ctrl+alt+v in insert mode or if they are in normal mode they will press p.
- charcircuit 4y agoSee. There is to point to have normal mode if you can just do it in insert mode.
- throwaway_au_1 4y agoYou do not seem to have a grasp on Vim which qualifies you to assert that it is overcomplicated.
- charcircuit 4y agoI do have a grasp on Vim. Even if I didn't the fact you used the term grasp shows that it is overcomplicated. A text editor should have such good ui that one instantly grasps it.
- fasterik 4y agoThe advantage of vim isn't just shortcuts. It's the ability to compose movements with editing commands. For example, da" cuts text enclosed in quotes. ct; changes text up to but not including the next semicolon. Every movement command works this way with every editing command. For me, the other big advantages are staying on the home row as much as possible and reducing chord shortcuts. I used to use Emacs but pain in my left wrist led me to search for a way of editing code without Mod+Key on one hand. I have some custom keymaps in vim that allow me to move to the start/end of a line with Shift+H and Shift+L, move up/down code blocks with Shift+K and Shift+J, and page up/down with Ctrl+K and Ctrl+J. In most standard editors, I find moving my right hand to the arrow keys and home/end to be unreasonably slow and error-prone in comparison. That said, I'm not an evangelist. I don't care what editor other people use and I'm not sentimental about vim. It's a dinosaur with a lot of legacy cruft and I would switch to something else if I could reproduce a similar setup.