9 ms·
Conceptually the reasons the author give for this (syntax highlighting and other features of vim outclass other terminal-based editors) make total sense. That
by jjcm 3y ago
Conceptually the reasons the author give for this (syntax highlighting and other features of vim outclass other terminal-based editors) make total sense.
That said there's something absolutely defiling about this. It's like installing a V8 in a Tesla, or replacing the pumpkin in pumpkin pie.
I love that it will make VIM more accessible for more people, but I hate how they do it. Kudos to the author.
- xp84 3y agoOr if you hate modes, it’s like installing a Tesla motor in a car that was originally powered by the screaming souls of the damned :)
- deleted 3y ago[deleted]
- csdvrx 3y ago> I hate how they do it What exactly do you hate? The site says: > > Ctrl+S to save, select text using Shift+←/→/↑/↓, and copy/paste using Ctrl+C/V. I haven't setup Control-S, but I have very similar bindings: Shift and arrows for selecting, then Alt or Control-Shift for moving the selection around, as shown on https://raw.githubusercontent.com/csdvrx/CuteVim/main/recordings/shift-arrows_then_ctrl-shift.gif https://raw.githubusercontent.com/csdvrx/CuteVim/main/record... Also, like the author I have a shortcut to change themes (F9) and another to toggle invisible chars (F8), and I try to use the top of the screen as much as possible (I show the offset in hex, the row and column position etc). I like how vim is modal, but some Windows shortcuts (like Control-C) just make too much sense to given them up on Linux: I have put `stty intr ^X` because using Shift-Control-C to copy from the terminal was way worse. Having a few chording shortcuts give you the best of both worlds! BTW, all of the other shortcuts proposed on this site make a lot of sense to me: I do expect Ctrl-F to search, and Ctrl-T to open tabs, I think I will copy a few :)
- arcanemachiner 3y agoBack in my day, when we pressed Ctrl+S, the terminal froze, and that's just the way we liked it. https://unix.stackexchange.com/questions/12107/how-to-unfreeze-after-accidentally-pressing-ctrl-s-in-a-terminal https://unix.stackexchange.com/questions/12107/how-to-unfree...
- kevindamm 3y agoCtrl-Q whew
- csdvrx 3y ago> Back in my day, when we pressed Ctrl+S, the terminal froze, and that's just the way we liked it. I don't think anyone needs (or even wants) the terminal to freeze on such a common shortcut in 2024. Personally, I have reclaimed Ctrl S for word delete (usually done by Alt-d)
- aidenn0 3y agoRelated: why does the shortcut to delete back a word (^W), close my browser tab?
- pests 3y agoDelete current word, delete current tab. Its related.
- troupo 3y agoThat's why I think MacOS is superior: it actually uses the "meta" key for useful stuff. So, Cmd-W would close the tab, and Ctrl-W would probably still delete a word (can't check right now, but it has a lot of 80s-era keyboard shortcuts for text still working)
- bloopernova 3y agomacOS uses a lot of Emacs bindings. Ctrl-a for beginning of line, ctrl-e for end, etc etc. And, agreed, macOS' use of shortcuts is fantastic and I wish I could replicate it on Linux.
- anthk 3y agoIf you use gnome/xfce: gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" xfconf-query -c xsettings -p /Gtk/KeyThemeName -s Emacs Try both commands.
- u801e 3y ago> I like how vim is modal, but some Windows shortcuts (like Control-C) just make too much sense to given them up on Linux Ctrl-C does work in the GUI. That said, one thing I like about Linux is being able to highlight text using the mouse and then pasting it by middle-clicking. I don't have to interact with the keyboard at all to copy and paste text that way.
- ttyprintk 3y agoRemapping Ctrl-O denies the ability to switch modes. That’s what turns this from simply an opinionated config to a breaking change.
- csdvrx 3y agoThat's fair, changes should try to preserve existing uses
- redundantly 3y ago> It's like installing a V8 in a Tesla, or replacing the pumpkin in pumpkin pie. Most pumpkin pies are actually made with butternut squash and other similar squashes, not pumpkin. https://en.wikipedia.org/wiki/Cucurbita_moschata https://en.wikipedia.org/wiki/Cucurbita_moschata https://www.thekitchn.com/whats-actually-in-your-canned-pumpkin-puree-ingredient-intelligence-69123 https://www.thekitchn.com/whats-actually-in-your-canned-pump...
- reactordev 3y agoNot sure about where you’re from but where I’m from, you don’t make pumpkin pie from a can. You make it with pumpkin purée. From scratch. Get out of here with your non-pumpkin pumpkin pie propaganda. Some pumpkin, blended into a paste, some brown sugar, an egg or two, some heavy cream and some cinnamon and crushed cloves and you have your pie filling.
- redundantly 3y agoYou can make it with homemade butternut squash puree too, and it will taste better because of its sweetness. Give it a try sometime.
- reactordev 3y agoThat’s a butternut squash pie, not a pumpkin pie. ;) Try with pumpkin, nutmeg, cinnamon, and cloves… it’s that old timer pumpkin pie taste.
- Waterluvian 3y agoApparently coffee cake has no coffee in it so we really can’t believe anything anymore.
- mikepurvis 3y agoBut coffee cake is the cake you have with coffee, not made from it.
- goldenshale 3y agoSeriously, it hurts. It makes sense, but it hurts. If only there were a more gentle path to editor modes. Maybe some simple graphical representation of the modes and commands that could be down in the corner? Like a dynamic vim infographic that clued a user into the most likely commands.
- tester457 3y agoHelix is beginner friendly. It's keybindings make more sense than vim's.
- Lio 3y agoYeah but it’s a small island. If you learn Vim you’ll have access to Vi and Vi-like interfaces in lots of other software including terminals, database clients and everything that uses readline.
- benrutter 3y agoCurious what kind of interfaces you're thinking about? (Aside from vi, vim, nvim) From my experience anything with "vi navigation" basically just means using the home row keys for navigation + modes. So I haven't come across many interfaces yet where the verb order differences between helix/vim come into play.
- ttyprintk 3y agoThen the question is readline. Not saying that vi or emacs deserve to win readline, but it’s up to you to describe how Helix mode would differ from vi mode.
- xigoi 3y agoOverleaf, for example, supports most of Vim’s bindings.
- broscillator 3y agoIn vimium I use vim navigation for scrolling around, / for search, and a bunch of tab actions that aren't vim accurate but vim inspired. In mpv I use gg/G to getting to the beginning/end of a file. Many terminal file managers use vim binds or idioms (such as x for delete, marks, etc).
- Hamuko 3y agoFor those who don't know, there are at least two different V8-powered Teslas. https://youtu.be/x-6kHjF1U1E?t=402 https://youtu.be/x-6kHjF1U1E?t=402 https://twitter.com/FthePump1/status/1738425546621825468 https://twitter.com/FthePump1/status/1738425546621825468
- hegzploit 3y agofor a moment there, I was wondering why they'd install a JavaScript engine in a tesla.
- Hamuko 3y agoTesla uses Qt and Qt WebEngine uses Chromium, meaning that there is probably in fact a V8 JavaScript engine in any given Tesla. https://github.com/teslamotors/buildroot/tree/buildroot-2021.02/package/qt5/qt5webengine https://github.com/teslamotors/buildroot/tree/buildroot-2021...
- IggleSniggle 3y agoNoice.
- globular-toast 3y agoEmacs runs in a terminal. Vim isn't installed everywhere, Vi is. If you're going to install an editor and a config you might as well just install Emacs.
- diggan 3y ago> Vim isn't installed everywhere, Vi is Doesn't most major distributions alias vi to vim nowadays? I think I've also come across vi being aliased to vim-tiny if I remember correctly.
- quesera 3y agoI believe only the BSDs install real vi in the base OS. Everywhere else, when you type vi, you get vim. Some neophile Linux distros provide neovim instead. Regardless, vi and vim (and neovim) are the same in basic operations. It's still functionally correct that "vi is always installed" and no additional action is necessary for basic text editing.
- jerpint 3y agoIt’s similar to preferring guitar hero because a real guitar has too many frets and too many chords to learn
- berkes 3y agoI guess it's the end-goal then, though. If your goal is to become a rockstar and play the guitar in a band, GH is probably a very bad route to it. But if it is to "have fun" its perfect. Same with this vim: if you just need an editor that is recognisable and "not weird" then this modeless vim might be useful; though why not just install nano, pico, gedit, notepad++ or even notepad.exe?
- cwillu 3y agoMore like learning the clavicord. “But your fingers aren't touching the strings!”
- scotty79 3y ago> It's like installing a V8 in a Tesla Maybe putting diesel generator in a Tesla so you can use it even though charging is not your cup of tea.
- deadbabe 3y agoI disagree. It makes no more sense than turning a modeless editor into a modal one. Just use the right tool for the job.
- zhenyakovalyov 3y agoIn Jef Raskin’s ‘Humane Interface’, there’s a good justification to why modes are evil, mainly leading to excessive user errors, so it’s not that surprising.
- 1vuio0pswjnm7 3y ago"That said there is something absolutely defining about this." Not expecting anyone to agree, but this is how I feel when using minimal shells that do not implement vi editing, e.g., set -V or set -o vi. Busybox/toybox is one example. In the aggregate, I actually do more editing on the command line than I do in vi. If the shell is permanently set to emacs-like keys and editing then I am constantly switching back and forth to "vi mode" everytime I edit a text file and return to the shell, i.e., nonstop.