A description of the problem
I am using Ubuntu 22.04 and just installed cheat via snap. Upon trying to edit a cheatsheet, I get the following error:
foo@asdf:~$ cheat -e yt-dlp
failed to edit cheatsheet: fork/exec /usr/bin/editor: permission denied
I am semi-sure this is caused by snap restricting the rights of the packages it installs. I do not have the error above when using the downloaded binaries
cheat version info
foo@asdf:~$ cheat -v
4.4.0