Live data from Hacker News

Kinto: Mac-style shortcut keys for Linux and Windows

github.com

111–120 of 248 posts

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#112
post #94

On a slightly related note: does anyone else map caps lock to control (and vice-versa)? I’ve never really understood why caps lock gets a huge key in the middle of the keyboard, while control gets a regular-sized key at the bottom. Generally speaking, caps lock is used much less than control.

I map it to alt+tab. One press and it call most recent window, another press and it switch back.

I mean, you can press alt+tab quickly. But I like the simplicity of one button.

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#113

How are Mac shortcuts different from Linux and Windows?

Let me write you a story thousands of lines long. I'll call it Kinto :P.

Windows/Linux - Primary, Tertiary, Secondary, Spacebar

Mac - Tertiary, Secondary, Primary, Spacebar

A thumb driven Primary modifier is nice, but beyond that hotkeys trip over each other less during terminal usage. The arrow keys w/ modifiers and emac style binding are highly useful for programmers and terminal users as well.

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#114
I’m hijacking the thread, but does anyone know if a Linux utility that replicates OS X’s ability to enter special characters with option? For instance on a QWERTY keyboard, you can type option-backtick followed by `e` and it will combine it into `è`. There are several other combinations I forget to enter other Unicode chars that don’t have a key and that feature works systemwide. It’s the one thing I miss on Linux from OS X.

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#115

I’m hijacking the thread, but does anyone know if a Linux utility that replicates OS X’s ability to enter special characters with option? For instance on a QWERTY keyboard, you can type option-backtick followed by `e` and it will combine it into `è`. There are several other combinations I forget to enter other Unicode chars that don’t have a key and that feature works systemwide. It’s the one thing I miss on Linux fr…

You're probably looking for the compose key: https://help.gnome.org/users/gnome-help/stable/tips-specialc...

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#116
post #32

Everyone is talking about keyboard shortcut but just 2 months old mac user (due work) the biggest "fuck you" feature I encountered in Mac was key-repetition. In PC and Linux, if you push down any letter key and keep it pushed, it repeat the key with a certain speed. In mac you can't by default do this. You have to use the terminal and go to a system file, change a variable and reboot the mac. You can, in system prefe…

Huh. I am also a "vim user", and I somehow never noticed this after using macOS for now over a decade. I guess I am confused by your comment, though, as the reason I seem to have never noticed is directly because I am a "vim user"... Terminal and iTerm both do key repeat (and in fact when I first tested just now I was like "I mean, seems to work?" and then I decided "oh, I guess I should check apps other than vim"...…

I would have done the same thing these days.

Although when I first transitioned to Macs I was not a heavy terminal user like I am now - always been into dev work, mostly web development back then. And I do recall changing that setting via the terminal, but I was never annoyed by it though as I tended to do far less customization to the OS than Windows or Linux.

And this is awesome to be replying to Saurik! Thank you so much for the work you've done in the iOS jailbreaking community.

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#117
post #57

Earlier quoted context omitted.

> One of the most common use cases for the `ctrl` key is COPYING shit and followed by PASTING shit and it DOES NOT WORK in a fucking TERMINAL... Because `ctrl-c` sends an interrupt Most terminals today have a copy-on-select feature, which means you don't need to ctrl-c at all. Just select and ctrl-v.

Usually in Linux (specifically in Xorg) it's select to copy and middle click to paste; which uses a separate buffer from the C-c/C-v clipboard. Personally I find this method much more usable than the traditional windows-style clipboard. Either way, you want to generally avoid C-c for copy in terminals because it's already bound to the all important "send sigterm signal to foreground process". This is on a long list o…

> Either way, you want to generally avoid C-c for copy in terminals because it's already bound to the all important "send sigterm signal to foreground process". This is on a long list of ancient cruft that exists in terminal emulators and shells.

stty intr ^X

Then ctrl-c will no longer bother you, and your muscle memory will quickly adapt as X is very close to C

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#118

Earlier quoted context omitted.

What made you switch from Windows to Mac? Was it the Metro UI everyone hates? Because you can get rid of that in 5 minutes and forget it ever existed after that.

I switched from Windows to Apple around 2010, after using Windows 7 for a year, and away from Apple a year or two ago, after Mountain Lion. With Windows and Mac both, it wasn't any one thing in particular, just a "death by a thousand cuts", so to speak, of a general feeling of the platform changing shape without me having any say in it, without any bi-directional feedback, just changing at someone else's whim, and ha…

> Sure, there's a whole slew of crap being grafted onto it like systemd, Wayland, Chromium, etc...

But... you don't have to use any of this

(in fact, I can't even use Wayland at all, even if I wanted to [because of Nvidia])

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#119
What a great timing. I just built a gaming PC this week to go along with my Hackintosh and you wouldn't believe the amount of times I've locked Windows since Cmd+L in macOS selects the address bar but using the same key combination on the Windows machine does Win+L for lock.

Re: Kinto: Mac-style shortcut keys for Linux and Windows

#120

Earlier quoted context omitted.

A large number of keyboard shortcuts are in conflict. "One specific keyboard shortcut has a mouse-based workaround" is not really a good answer. The Windows GUI copied the Mac’s keyboard shortcuts (originally from Lisa?) but didn't have a dedicated key for them so re-used the existing Ctrl key, which already had a meaning on text-based operating systems. (This happened because Microsoft had no input into hardware key…

>One specific keyboard shortcut has a mouse-based workaround Except for that particular action (select some text on terminal then copy) you have to use mouse to do the "select" part anyways.

That's why I never connect a mouse on my laptops. I've got a touchpad that's part of the keyboard. I select text with it and paste with its middle button. I only buy laptops with three physical buttons precisely because of this user case. A mouse would slow me down.

Where a mouse is really needed is in action games. A touchpad is too slow there.

Post reply on HN