Live data from Hacker News

Vim.wasm

rhysd.github.io

211–220 of 291 posts

Re: Vim.wasm

#212
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 like that in spite of this requiring two fingers, each finger on it's own has to move less distance than one would in order to reach Esc.

Re: Vim.wasm

#213
post #174

Earlier quoted context omitted.

Rebound my caps lock to escape and never looked back!

You should (look back). Mapping it to Ctrl is a much more sensible choice. Can’t imagine using backspace instead of Ctrl-h, or Ctrl-A/E to go to the beginning/end of line, or Ctrl-W to delete back one word etc. Of course, Ctrl-[ is also right under your finger tips with Caps Lock mapped to Ctrl.

> You should (look back).

Tell me about it!

> Mapping it to Ctrl is a much more sensible choice.

Never considered this, but just moved my pinkie to Ctrl and then to Esc and then to Ctrl... hmm... I use Emacs bindings in Insert Mode, wouldn't this interfere with them?

Re: Vim.wasm

#214
post #174

Earlier quoted context omitted.

You should (look back). Mapping it to Ctrl is a much more sensible choice. Can’t imagine using backspace instead of Ctrl-h, or Ctrl-A/E to go to the beginning/end of line, or Ctrl-W to delete back one word etc. Of course, Ctrl-[ is also right under your finger tips with Caps Lock mapped to Ctrl.

you can do tap for esc, hold for ctrl

Tap what?

Re: Vim.wasm

#215

Earlier quoted context omitted.

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)

I did this recently. An upgrade to a Mac with a touchbar prompted it, but I should have done it over a decade ago.

Re: Vim.wasm

#216

Does anyone know if lynx plans on supporting wasm? I'd like to try this editor in a terminal.

It would need to have its HTTP code gutted and replaced with something that uses JS's XMLHttpRequest or the request API, but I think that's all you'd need to change.

Or write a C function called http_request, refactor all of Lynx to use just this one function, and then do something like

    #if PLATFORM === 'WASM'
    then
      fetch()
    else
      the actual sockets and stuff
    end

Re: Vim.wasm

#217

Earlier quoted context omitted.

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.

... it's not like his right-wing politics are repugnant . Come on.

They are for those who hate esr for it and want his existence in history of computing to be forgotten.

Re: Vim.wasm

#218
post #100

Earlier quoted context omitted.

RMS has done a lot, but perhaps his main role now is to encourage others to do things. In the good fight, people shouldn't thank him for his service, but rather, join up.

Indeed. The fight is not over, it barely started. The dangers RMS told us about have materialized in full force now.

Ironically, these dangers are not thwarted by FSF licenses. Even more, the persistence with which FSF fights anything that would dare touch the pillars that they marked as "freedom" is holding back any meaningful discussion about alternatives.

For example:

https://www.fsf.org/blogs/licensing/recent-licensing-updates

> We added the Commons Clause to our list of nonfree licenses... It's particularly nasty given that the name, and the fact that it is attached to pre-existing free licenses, may make it seem as if the work is still free software.

So while RMS was undeniably a force of good, we should take his advice with grain of salt, and start discussing which freedoms we can protect, and what the price for that is.

Re: Vim.wasm

#219
post #167
post #143

Earlier quoted context omitted.

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.

Hi, I have experience both with the ergodox and the now-discontinued Truly Ergonomic Computer Keyboard™. The TECK honestly has a slightly better layout for me - the two halves are closer together and seem to fit my hands just a bit better. On the downside, the TECK's hardware quality was atrocious with keys double-pressing or missing presses after about a year of use. It also uses its own microcontroller with its own…

As an avid mechanical keyboard hobbyist with an enormous collection of MX variants (I have 10 ortholinear keyboards in various stages of construction in my living room right now, and about 80 models of switches from various manufacturers), I would argue that kailh had surpassed cherry in quality and selection by a wide margin in recent years. You really should give them another try.
Post reply on HN