4 ms·
I’m wondering if a vscode in the terminal could ever exist.
by baby 5y ago
I’m wondering if a vscode in the terminal could ever exist.
- dotancohen 5y agoThat's like wondering if elephants could ever roam the depths of the oceans. If they did, they would no longer be elephants. What specific features of vscode would you like to see in a terminal editor?
- baby 5y agoI’m not sure why not? Everything has a shortcut in vscode. And if it doesn’t you can use the command palette.
- dotancohen 5y agoYou might like VIM. In VIM everything has a shortcut as well. In fact, in VIM, everything _is_ a shortcut.
- baby 5y agoHow do you find commands if you don’t know the shortcuts though? Or if you installed a new plugin? That’s my big problem with emacs and why I don’t use it anymore.
- bitbckt 5y agoApropos: https://www.gnu.org/software/emacs/manual/html_node/emacs/Apropos.html https://www.gnu.org/software/emacs/manual/html_node/emacs/Ap...
- dotancohen 5y agoThe vimtutor tutorial is very good, though it will feel cumbersome at first. It's fine to start and stop trying the tutorial a few times. Just start each time from the beginning again. Other than that, most VIM plugins are documented very well.
- cmroanirgo 5y agoAbout 15yrs ago I had a nice vim vs vstudio competition with a friend. It started with "look what vim can do"... block select, block indent, bookmarks, etc Vstudio (& now /vscode) can do too. Vim was always slower (mainly bc the guy wasn't seasoned by 10yrs of it) to figure it out. The interesting thing is that vstudio has the same abilities, but for the really arcane stuff (which vim users take as why it's better), can be done too, but just more keystrokes. Lots of the everyday stuff is often the same or fewer keystrokes than vim. And you can always write a macro for edge cases. So to me, the "win" of vstudio is the tiny command pallete that is used & the shortcuts are displayed in menus. (& everyone mentions the difficult hill to climb to learn emacs or vim by comparison). The thing which will never work in terminal is ctrl-c and ctrl-v. (Macos covers this nicely by using cmd-... tho). It's a shame. I actually use le editor in terminal, but am rather cramped using it. I consider learning vim or emacs once every few years... and go... nah, no thanks. Eg. There are a few comments above about region undo. In vstudio it sounds ugly, but it's trivially easy. Press and hold undo (ctrl-z) and let key repeat until the block appears as you want. Select it, copy. Press and hold redo. Select area. Paste. Tastes are different.
- deleted 5y ago[deleted]
- jorams 5y ago> The thing which will never work in terminal is ctrl-c and ctrl-v. If you enable cua-mode in Emacs, C-c and C-v work perfectly fine as copy and paste. Even in the terminal. > There are a few comments above about region undo. In vstudio it sounds ugly, but it's trivially easy. Press and hold undo (ctrl-z) and let key repeat until the block appears as you want. Select it, copy. Press and hold redo. Select area. Paste. That works in practically every editor. The entire point of region undo is that it's faster and more convenient than doing it manually.
- Eelongate 5y agoElephants can walk underwater using their trunks as snorkels. Maybe they would be too buoyant for it in sea water. It seems a fair thing to wonder though.
- dotancohen 5y agoAre elephants' trunks long enough to use as a snorkel in the depths of the oceans? Never mind overcoming the water pressure with uncompressed air.
- lvass 5y agoThere are many terminal web browsers.
- deleted 5y ago[deleted]
- rgoulter 5y agohttps://github.com/zyedidia/micro https://github.com/zyedidia/micro With the disclaimer that I haven't tried it.. this tool aims at being a successor to nano.
- baby 5y agoThis looks amazing! Thanks for sharing. Not in front of laptop, wondering if there’s a command palette shortcut thing like in sublime/atom/vscode.