Live data from Hacker News

Vim.wasm

rhysd.github.io

221–230 of 291 posts

Re: Vim.wasm

#221
post #193
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

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

That's why I use the EurKEY [1] layout on all my machines!

This way I can use all the default US-based shortcuts for emacs/vim/... while still being able to easily type the special chars for my native language, e.g. pressing AltGr+o results in 'ö'.

This method is slightly inconvenient for typing long texts but for me it's still the perfect solution to such problems.

[1]: https://eurkey.steffen.bruentjen.eu/start.html

Re: Vim.wasm

#222
post #91
post #22

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

Probably next step would be to run nginx/node in browser! This will enable doing full web development in browser only

I have seen a project which runs a js webserver in a service worker; it's not a terribly far-fetched idea.

Re: Vim.wasm

#223
post #218

Earlier quoted context omitted.

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 th…

They consider Commons Clause to be harmful for good reasons. To quote from https://www.gnu.org/licenses/license-list.html#comclause:

> The “Commons Clause” is a nonfree license because it forbids selling copies of the program, and even running the program as part of implementing any commercial service. Adding insult to injury, it also twists the words “commons” and “sell.”

RMS and FSF's stance on software freedom is ultimately straightforward: they want to protect end user's freedoms, and protecting this involves removing the ability for anyone in between to take away end user's freedoms.

Re: Vim.wasm

#226
post #191
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.

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

I'd like to second the sentiment. My only complaint about my new job is that I can't bring my Ergodox (we have strict security requirements on external hardware due to handling sensitive medical data). At my last job, I used it every day for about a year. It's an absolute dream come true.

Re: Vim.wasm

#227
post #193
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

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

Technically ESC is the shortcut key for ctrl-[.

Re: Vim.wasm

#228
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.

`:inoremap jk ` first thing I usually do

Re: Vim.wasm

#229

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)

Caps lock remapped to esc is definitely a great solution - I have been using it for years

Re: Vim.wasm

#230
post #117
post #94

Earlier quoted context omitted.

> Both alternatives that I mentioned, Flash and PNaCL did have open source implementations available, it is just a matter of following the links I posted. At least for Flash I remember that the OSS implementations couldn't run many real-world flash programs. Did this change later?

It was good enough to run Unreal.

That's slightly interesting. But it doesn't change the fact that some programs fail to run on the open implementations. And why is that? Presumably it's a secret. This unknown difference in behavior is significant, even if the actual difference is small. It means one can intentionally write a program the only runs on proprietary implementations.
Post reply on HN