Yuuta
Yuuta

Reputation: 414

(Emacs) Accidentally Switched Keys, How to reset them back?

I tried to use "C-i C-f" for a command, but found out "C-i" was the key for TAB.

I tried using translate or something before to switch keys and now when I type "C-i", "H-i" shows up.

I tried (keyboard-translate "H-i" "C-i") and now Tab and "C-i" show Mouse-2

Now I realized that keyboard-translate is probably permanent, is there a way to reset it?

Thanks in advance ^^

Upvotes: 1

Views: 1465

Answers (1)

Noufal Ibrahim
Noufal Ibrahim

Reputation: 72855

It's possible that you've saved your changes using the customisation system. Take a look at your .emacs file to see if there's anything that's looks auto added. Possibly custom-set-varaiables. Get rid of that and try restarting your editor.

Upvotes: 3

Related Questions