-
Notifications
You must be signed in to change notification settings - Fork 14
Key binding changes should be for agda files only #78
Comments
agda-mode/keymaps/agda-mode.cson Lines 11 to 12 in 102a7a6
Ctrl+c Ctrl+l should be the only keybinding that is affecting Haskell files, as it is the sole command for activating agda-mode. It's impossible to restrict the scope of Ctrl+c Ctrl+l to There is a workaround, but it will require the users to have the language-agda package installed beforehand, so that the agda-mode/keymaps/agda-mode.cson Lines 84 to 85 in 102a7a6
And that's actually what it used to be, until recently, because it would stop the users from activating agda-mode if they forgot to install the language-agda package first, which would confuse the hell outta them. |
I know for sure that multiple key bindings for Haskell files are affected by agda-mode and not just Ctrl+c, Ctrl+l. When agda-mode is enabled Ctrl+C no longer works, and there are other keyboard changes. What I currently do to get past this issue is to disable agda-mode plugin before working on Haskell files. |
Can I take a look at what the key binding resolver shows when you press Ctrl+C on Haskell files? |
The temporary workaround: go to The long term solution is that I should find a way to make sure that Atom package dependency can be handled automatically so that people won't have to install language-agda manually so that I can restrict the scope of keybinding of agda-mode. |
Thank you. The workaround seems to have worked. I hope that was the only keybinding affected. |
The keybindings specific to agda-mode are also affecting haskell files for example which makes it impossible to copy using Ctrl+C.
The agda-mode key bindings should only be enabled for
.agda
and.lagda
files.The text was updated successfully, but these errors were encountered: