https://rancher.com/ logo
Title
m

melodic-london-92561

07/18/2022, 2:08 PM
How do you disable CTRL+C showing you YAML in Rancher? This is very annoying to have enabled by default...
s

stocky-account-63046

07/18/2022, 2:15 PM
What version of rancher are you using and what resource are you looking at? In the latest release there's no
ctrl+c
, but a
c
that will take you to the 'view' style page of a resource (normally config, if not yaml)
that one should only be enabled if you're in 'view' mode, rather than edit
m

melodic-london-92561

07/18/2022, 2:20 PM
Yeah I see the described behaviour now - only seems to happen when I accidentally hit C without CTRL, in view mode for config maps, secrets, etc.
Is there a way to re-bind this key or disable this behaviour as I don't need this particular keybind?
s

stocky-account-63046

07/18/2022, 2:26 PM
unfortunately not, the shortcuts are all baked in. we welcome feedback though, could you describe the issue you're having in a comments over at https://github.com/rancher/dashboard/issues/2982? given input we can add a global disable, or a remap, etc
m

melodic-london-92561

07/18/2022, 2:28 PM
I'm not so sure it was an issue as opposed to user error lol, but I'll certainly provide some feedback for you
s

stocky-account-63046

07/18/2022, 2:33 PM
thanks. we're going to look at the shortcuts we have, see if we can improve them (like add additional ones, make them discoverable, improve existing ones, disable/remap, etc). that investigation will start in the 2.7.0 timeframe
saw the comment, appreciated!
m

melodic-london-92561

07/18/2022, 2:34 PM
No problem Richard 👍 🙂
Appreciate you helping me figure out where this issue was coming from lol
👍 1
s

stocky-account-63046

07/20/2022, 4:43 PM
FYI We've tweaked the set of shortcuts on that page to now require 'shift' as well. that should help remove any issues with ctrl+c https://github.com/rancher/dashboard/pull/6426
m

melodic-london-92561

07/20/2022, 4:48 PM
@stocky-account-63046 Thanks a bunch!!
s

stocky-account-63046

07/20/2022, 4:50 PM
np, it'll be in the next release, 2.6.7
m

melodic-london-92561

07/20/2022, 4:52 PM
cheers I'll keep an eye out