Live data from Hacker News

Vim.wasm

rhysd.github.io

191–200 of 291 posts

Re: Vim.wasm

#191
post #143
post #135

Earlier quoted context omitted.

The actual issue is that Windows and Linux don't properly use a ‘super’ key―while the ‘Win’ key is sitting there uselessly. Ironically, MS' own ‘ergonomic’ (cough) keyboards have gigantic Win keys, right under the thumbs which are the strongest digits. These keys are great to use on Mac, it's an eye-opener as to how the historical keyboard mutations ended up in just the wrong way for two platforms (and for Emacs). I…

I’d love to hear your take on the nonsensical shape and staggered key layout. Do you have suggestions for keyboards that do away with this? I have myself been looking at https://ergodox-ez.com/ but I’d love to hear of alternatives, especially if you have first hand experience on them.

I've been using the Ergodox EZ for over a year now and it is life-changing. The ergonomic benefits are huge and it forces you to learn to touch type properly.

I went through 20 iterations to find a layout optimised for using Vim in Ubuntu - feel free to check it out.

https://github.com/Ganon-M/ergodox-vim-ubuntu

Re: Vim.wasm

#192

Earlier quoted context omitted.

ESR is a poseur who doesn't belong next to those other names.

I totally disagree. I don't agree with anything he believes in outside of software as far as I can tell, but the Cathedral and Bazaar was pivotal. Not only that, but if you've never looked at the source code for Nethack, you should. I admit, I haven't looked at it since he was leading the project, but it remains in my mind as one of the best pieces of C code I've ever played with. Also, his description of working wit…

Inflammatory take: people resent esr's right-wing politics.

Re: Vim.wasm

#193
post #131
post #7

I thought I was getting stuck in insert mode, and I got fairly frustrated before realizing my Vim keybindings browser extension was grabbing ESC and keeping it from this weird browser-Vim. We brought this abomination on ourselves.

Ctr+[ Vim-ing on devices with not physical Esc key makes you get used to this (default configured, no extra keymapping required) Esc alternative :P

I really dislike shortcuts with `[` and similar keys. Design software also tends do use them. On a Portuguese keyboard layout[1], I need to press ⌥8 to get `[`. So shortcuts like ⌃[ become ⌃⌥8, which in vim produces `8`.

[1]: https://en.wikipedia.org/wiki/File:KB_Portuguese.svg

Re: Vim.wasm

#194
post #131

Earlier quoted context omitted.

Ctr+[ Vim-ing on devices with not physical Esc key makes you get used to this (default configured, no extra keymapping required) Esc alternative :P

Whoa, I was not aware of this. Now I can completely avoid using the touchbar!

You can also remap a key like Caps Lock to Escape, straight from System Preferences on macOS (unless you're already remapping it to Ctrl or something)

Re: Vim.wasm

#195

Earlier quoted context omitted.

:imap jk Will change your life man.

Hah that’s good one! I need to take a vacation and re-examine my vim life. So many good things to explore and muscle memory to tweak.

I wonder if there are any studies that look at how hard it is to permanently readjust muscle memory as you age.

Would I ever (at 31) ever achieve the same fluency with emacs if I switched cold-turkey today as I've developed with vim in my teens and twenties? What about in my fifties?

Re: Vim.wasm

#196

Earlier quoted context omitted.

I totally disagree. I don't agree with anything he believes in outside of software as far as I can tell, but the Cathedral and Bazaar was pivotal. Not only that, but if you've never looked at the source code for Nethack, you should. I admit, I haven't looked at it since he was leading the project, but it remains in my mind as one of the best pieces of C code I've ever played with. Also, his description of working wit…

Inflammatory take: people resent esr's right-wing politics.

So they do. It shouldn't matter in this context.

Unlike in fiction, real-life humans aren't universally perfect to everyone's standards. In some areas they believe or practice something great, in others they say or do repugnant stuff. Fortunately, you can evaluate one's contribution in different areas in isolation, and I wish more people would learn how to do that.

Re: Vim.wasm

#197
post #7

I thought I was getting stuck in insert mode, and I got fairly frustrated before realizing my Vim keybindings browser extension was grabbing ESC and keeping it from this weird browser-Vim. We brought this abomination on ourselves.

:imap jk Will change your life man.

This is what Spacemacs and I think Evil Mode do as well

Re: Vim.wasm

#198
post #7

I thought I was getting stuck in insert mode, and I got fairly frustrated before realizing my Vim keybindings browser extension was grabbing ESC and keeping it from this weird browser-Vim. We brought this abomination on ourselves.

:imap jk Will change your life man.

Consciously I know that jk is a better shortcut, but I've been using jj for so long that it's ingrained in the muscle memory, when I started using emacs the first thing that I did with evil was replicate all the shortcuts that I am used to in vim, the first one was jj.

Re: Vim.wasm

#199
post #22

This is absolutely incredible. I never thought this would be possible-- wasm opens a new phase of software development and deployment.

The latency in Safari on a MacBook is better than VSCode. Which makes total sense, but is impressive and demonstrates how much better electron could be.

Re: Vim.wasm

#200
post #143
post #135

Earlier quoted context omitted.

The actual issue is that Windows and Linux don't properly use a ‘super’ key―while the ‘Win’ key is sitting there uselessly. Ironically, MS' own ‘ergonomic’ (cough) keyboards have gigantic Win keys, right under the thumbs which are the strongest digits. These keys are great to use on Mac, it's an eye-opener as to how the historical keyboard mutations ended up in just the wrong way for two platforms (and for Emacs). I…

I’d love to hear your take on the nonsensical shape and staggered key layout. Do you have suggestions for keyboards that do away with this? I have myself been looking at https://ergodox-ez.com/ but I’d love to hear of alternatives, especially if you have first hand experience on them.

I have a Kinesis Advantage.

Cons: it's a bit expensive, considerably bulky and annoyingly (for workmates) noisy since it has a big volume of air between the halves of the keyboard; it's overkill for most situations where you're going to be browsing an watching Netflix.

Pros: it looks like a fucking spaceship (I'm not a habitual use of F-bombs), teaches you proper typing by separating the keys you're supposed to press with the left and right hands (this lives on even when you work with other keyboards); has such a long key travel that your hands don't hurt when typing in a hurry/hammering the keys with intensity, but actually fires before half of that travel, which makes typing certain combinations with pinkies and ringfingers easy and comfortable.

It's a great keyboard, but it's too much for most people methinks.

---

Edit: from the pictures the Ergodox is very close to a non-bulky kinesis except for the concave bowl design of the keyboard halves; it's great for resting your hands and arms solidly. But I have an unused Kinesis at home because it doesn't fit my desk concept; this would fit the bill nicely.

Post reply on HN