Live data from Hacker News

Kinto: Mac-style shortcut keys for Linux and Windows

github.com

141–150 of 248 posts

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

#141
I use a osx keyboard on my linux laptop that act as desktop, the only thing annoying is the switch between tabs (Super key on OSX, alt key on Linux)

The copy and paste in terminal was annoying at first, and used to remap it to super-c super-v but then I embraced it and doesn't seem to bother the context switch when I am back on OSX.

The only difference for me between linux and osx is the fonts.. not sure why but alas i start to get use to to the linux fonts, i used to really be bugged about it before.

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

#142

This is great, btw. Kinto is 100% a sanity saver. Please note the following rant is mostly tongue-in-cheek. 'cuz it turns out, I personally hate how Windows and Linux do things with `ctrl`. Coming from a Mac, my biggest and most consistent annoyance is that the `ctrl` key is fucking useless at best... One of the most common use cases for the `ctrl` key is COPYING shit and followed by PASTING shit and it DOES NOT WORK…

After switching development from Mac to Windows I wrote an AutoHotkey script that maps most ctrl+ combinations to alt, which is the physical location where cmd on the mac was.

so alt+c for copy, alt+v for paste etc. it solves the terminal problem AND it reduces strain on the thumb.

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

#144

This seems like a collection of shortcut remappings instead of a general window key to ctrl remap. That means that for example if Ctrl+p is not remapped, you can't use the win key. I have an ahk script that's have a more general approach which maps window key to ctrl. It also remap the text navigation and mac style window switching. https://github.com/stevenguh/autohotkey-windows-mac-keyboard

It’s not a “collection” of remappings, it is in fact a general modifier key swap w/ dynamic modifier key swapping for a variety of Terminal apps, layered w/ an additional set or collection of remaps for code editors geared towards developers as well.

I’m sure your project is good but I think Kinto is better fleshed out than you’d assume.

Also your Windows key, in Kinto, tends to land on the physical Ctrl key during a normal GUI app or non-terminal. Ctrl+P is otherwise on your Cmd key location.. as are all primary modifier combos tend to be.

It does not interfere with or lack any particular remapping that I am aware of.

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

#145

Earlier quoted context omitted.

I switch very regularly and had difficulty until I begun to just swap out keyboards between macOS and Windows. That somehow ties my muscle memory for each OS much better. I pretty much have exclusive keyboards for different OS even if I use VMs on my laptop. Plus, after much searching, there is not a good non-Apple keyboard for the Mac and the Apple keyboards aren't good for Windows. One example: the right side of of…

> there is not a good non-Apple keyboard for the Mac I have been very happy with my successive Matias keyboards over the years.

Ok, I spoke too soon, I see a TKL Matias with ⌘ aligned with X. I may have missed this one because when I search for a replacement I usually focus on mechanical keyboards. The mechanical Matias I see is not aligned so it's not for me at least.

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

#146
post #12

The difference between Mac and PC keyboards is a real usability problem. If you're used to PC's or Linux, moving to a Mac and dealing with their shortcuts is painful, and vice-versa. The worst is using a mixture of both Mac's and PC's on a daily basis. Moving back and forth between platforms daily means you either have to get used to hitting the wrong shortcuts or use a hack to swap keys around on one platform so you…

offer PC keyboard layouts as an option on their machines

They actually do/did, in a combination of custom shortcuts in system settings, plus an obscure and ancient .plist to change input navigation shortcuts. But Electron ruined everything, because instead of understanding the underlying platform's input methods, apps like Slack hard-code mac-ish keyboard shortcuts and behavior of home/end keys.

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

#147

This is great, btw. Kinto is 100% a sanity saver. Please note the following rant is mostly tongue-in-cheek. 'cuz it turns out, I personally hate how Windows and Linux do things with `ctrl`. Coming from a Mac, my biggest and most consistent annoyance is that the `ctrl` key is fucking useless at best... One of the most common use cases for the `ctrl` key is COPYING shit and followed by PASTING shit and it DOES NOT WORK…

I might suggest remapping caps lock to control on hold and escape on tap [1]. https://gitlab.com/interception/linux/plugins/caps2esc

capslock to ctrl works really well on thinkpad keyboards. with the fn key in the corner instead of ctrl, you can press fn with the base of your palm and then press the F keys with your middle finger. i can reach F8 without mashing any other keys with my palm

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

#148

This is great, btw. Kinto is 100% a sanity saver. Please note the following rant is mostly tongue-in-cheek. 'cuz it turns out, I personally hate how Windows and Linux do things with `ctrl`. Coming from a Mac, my biggest and most consistent annoyance is that the `ctrl` key is fucking useless at best... One of the most common use cases for the `ctrl` key is COPYING shit and followed by PASTING shit and it DOES NOT WORK…

I just solve that terminal issue by using a terminal that has "smart copy". The two I know of that do are pantheon-terminal (from elementaryOS) and kitty. The idea is that Ctrl+C behaves normally (sends SIGINT) unless you have text selected, in which case it will copy the selected text then clear the selection. So if you had something selected, you just hit Ctrl+C twice to send an interrupt if you need to, with the convenience of Ctrl+C working just like you'd expect in every other app.

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

#149
post #143

Moved to Win after a decade on a Mac, this doesn't make sense, most Mac keys are not much better and you are just used to it, rather install AHK, something which no other platform has, and remap keys in a sane way.

Using control for the most common operations is much more straining for the hand. It is especially noticeable by heavy keyboard users such as software developers. Using your thumb to hit CMD (or Alt on a Win keyboard), is much less straining.

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

#150

This is great, btw. Kinto is 100% a sanity saver. Please note the following rant is mostly tongue-in-cheek. 'cuz it turns out, I personally hate how Windows and Linux do things with `ctrl`. Coming from a Mac, my biggest and most consistent annoyance is that the `ctrl` key is fucking useless at best... One of the most common use cases for the `ctrl` key is COPYING shit and followed by PASTING shit and it DOES NOT WORK…

> 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, I don't know what `ctrl-v` sends and I don't give a shit as long as it is not pasting my fucking buffer. Ctrl + Shift + Ins (paste) and Ctrl + Shift + Supr (copy) Ctrl + Shift + v (paste) and Ctrl + Shift + c (copy)

That's not a solution. Having different hotkeys in the terminal than in every other application is horrible UX. Like I said elsewhere, I use the "smart copy" feature from kitty, which makes Ctrl+C actually copy when I want, if text is selected (and Ctrl+V works as normal).
Post reply on HN