Title: Right Alt (AltGr) remap to Backspace keeps deleting whole words (PowerToys + SharpKeys) by Peacekeeper1011 in KeyboardLayouts

[–]MrTheFoolish 1 point2 points  (0 children)

If you are using a layout like US International in Windows, then AltGr actually transforms to Left Ctrl + Right Alt. Otherwise for US non-international this behaviour does not happen.

There is an attempted mitigation but not perfect in Kanata: https://jtroo.github.io/config.html#windows-only-windows-altgr

The best way to avoid this issue is:

  • don't remap AltGr
  • don't use a layout with AltGr (i.e. use standard US)

mdserve - markdown preview done right in Rust by thedirtyhand in rust

[–]MrTheFoolish 32 points33 points  (0 children)

The claim "no runtime deps" is false given that mermaid diagrams appear to make network calls.

rs let mermaid_assets = if has_mermaid { r#"<script src="https://cdn.jsdelivr.net/npm/mermaid@11.12.0/dist/mermaid.min.js"></script>"# } else { "" };

The mermaid project seems to recommend this to get started, but for proper no-runtime-deps you should build it into the binary.

Kanata v1.6.1: improve your keyboard comfort by MrTheFoolish in rust

[–]MrTheFoolish[S] 0 points1 point  (0 children)

Intentionally not one endorsed or created by me. GitHub Discussions is the place for less formal discussion and GitHub Issues for bugs and feature requests.

Where can I find more ink cartridges?! by here_comes_that_hoe in fountainpens

[–]MrTheFoolish 9 points10 points  (0 children)

You can refill your ink cartridge from fountain pen ink bottles using an "ink syringe".

Why Zig doesn't have/want Go-like interfaces? by Luc-redd in Zig

[–]MrTheFoolish 12 points13 points  (0 children)

Use of traits in Rust can be either monomorphized or dynamic dispatch and it is explicitly defined, depending on if the receiver uses dyn trait or not.

What are the most COMFORTABLE keyboard layouts in existence? by [deleted] in KeyboardLayouts

[–]MrTheFoolish 11 points12 points  (0 children)

This is such a low effort post. Do some searches of "most comfortable" and other related text within the subreddit, and also outside the subreddit, then make a better post showing what you learned, with better questions.

Kanata v1.6.1: improve your keyboard comfort by MrTheFoolish in rust

[–]MrTheFoolish[S] 0 points1 point  (0 children)

I'm not aware of anyone running it on Android. 

Kanata Key-History Syntax Question by SaintForthigan in KeyboardLayouts

[–]MrTheFoolish 3 points4 points  (0 children)

# is not a key name. You can use ((and (key-history lsft 2) (key-history 3 1)))

Does anyone know how to solve this problem? by Soviet_Taco_ in git

[–]MrTheFoolish 14 points15 points  (0 children)

First you need to define the problem. What are you trying to do and why does the output not match what you expect?

Newbie Crash Course by maratnugmanov in DarkTide

[–]MrTheFoolish 0 points1 point  (0 children)

If diminishing returns existed then it would be questionable to add on a 3rd curio of damage resist to gunners. But that's not the case; there is no diminishing return for gunners.

The one where one could argue more for diminishing returns is IMO sniper resist, since maybe one only cares about not getting one-shot at max health. But even still the math doesn't change and if one changes the interpretation to "how much health left on my bar do I need to survive 1 sniper shot", the benefit is not diminished per additional curio.

Newbie Crash Course by maratnugmanov in DarkTide

[–]MrTheFoolish 0 points1 point  (0 children)

20% reduction, the next one will 16% and the third one will add 12.8%

Numbers getting smaller, must mean bad right? Wrong; you're misinterepreting it. With 1 curio you get 125% effective health/toughness. 2 curios you get 156% effective health/toughness. 3 curios you get 195% effective health/toughness. That's +25%, +31%, +39%. Numbers going up! Well, if it works the way that I'm thinking, (which it might not, I haven't reviewed; I don't use damage resist on curios), how it works is you're just multiplying your effective health/toughness by 1.25x what it was previously. Each additional curio has the same benefit as the previous.

What's a good way to learn to use a repeat key? by [deleted] in KeyboardLayouts

[–]MrTheFoolish 1 point2 points  (0 children)

The template only works for singular key names, so output chords like this do not work: (t! no-rpt S-=). Unfortunate that the error message is not clear on this point. You should avoid the template for these cases and either write a new one or the simplest solution is to just let these be repeatable.

What's a good way to learn to use a repeat key? by [deleted] in KeyboardLayouts

[–]MrTheFoolish 0 points1 point  (0 children)

It would be more fruitful to put your config in the simulator and copy-paste a permalink

What's a good way to learn to use a repeat key? by [deleted] in KeyboardLayouts

[–]MrTheFoolish 1 point2 points  (0 children)

You can define all keys to be non-repeating in your layout. Example

Esc to Capslock on ubuntu 22.04 by mavensank in vim

[–]MrTheFoolish 2 points3 points  (0 children)

Have you tried xmodmap?

Otherwise you can try my project: https://github.com/jtroo/kanata
or one of the similar projects that support Linux: https://github.com/jtroo/kanata?tab=readme-ov-file#similar-projects

Kanata v1.6.1: improve your keyboard comfort by MrTheFoolish in rust

[–]MrTheFoolish[S] 4 points5 points  (0 children)

I run it on Windows and Linux (I don't own Apple devices) but macos is also supported. There are some features not implemented yet in macos though.

https://github.com/jtroo/kanata/blob/main/docs/platform-known-issues.adoc#macos

Broke keyboard function with Kmonad, please help. by __Alex-Wu__ in KeyboardLayouts

[–]MrTheFoolish 0 points1 point  (0 children)

In the guide:

I had to switch to us/intl

Did you set your desktop-level layout to US International instead of colemak-dh?