Github, Gitlab and other platforms use the slash key to start a search, but rustdoc uses 'S', which is less common and more difficult to type.
Would it be possible to change the key to '/' or at least allow both keys to start the search?
GitHub and GitLab presumably use / because it's the standard Vi key binding for starting a search. Funnily, Google Drive, which is not targetted at users who know what Vim is, likewise uses / to focus its search bar.
Yeah, it's something of a de facto standard, although maybe not very well known. Indeed Discourse also supports /. Gmail as well. And Firefox unless the page captures it itself.
It gets worse though, at least in Swedish layout you need AltGr for []{}. And ~ is a dead key, so that needs a space afterwards... The back tick of markdown is also a dead key.
Yes, I feel your pain. Honestly I'm not sure why I haven't just learned to use the US layout for coding ages ago. (Also, on Mac, {} are shift-alt-8/9…)
I'm spanish and the layout is terrible for coding. I moved to a US layout a few years ago and I can't be happier with the result, it doesn't take that long to get used to.
The only problem is with with typing spanish characters, what I usually do is to change layouts (windows) or compose key (linux)
It sounds like you want…modal bindings . I get it with SurfingKeys in Firefox, but pretty much everything I use has some modal bindings (i for Firefox, Ctrl-I for my window manager, Ctrl-A for tmux, nvim is…nvim).