I'm new to emacs (and hating it so far) and want to change some key binds
around so that it's not so awful.
However, after I started remapping some keys in my .emacs file, my TAB key
keeps acting funny.
I changed C-i to 'previous-line and C-k to 'next-line, now every time I hit
tab it runs 'previous-line. When I delete the line "(global-set-key (kbd
"C-i") 'aquamacs-previous-line)" TAB works fine, so I know this is the
problem
Help? I have tried stupid things like changing 'aquamacs-previous-line to
just 'previous-line, using escape charactesr like "\C-i" and ?\C-i, ect...
I am using Aquamacs and here is my current .emacs file:
(global-set-key (kbd "C-z") 'shell)
(global-set-key (kbd "C-i") 'aquamacs-previous-line)
(global-set-key (kbd "C-s") 'backward-word)
(global-set-key (kbd "C-f") 'forward-word)
(global-set-key (kbd "C-k") 'aquamacs-next-line)
(global-set-key (kbd "C-l") 'forward-char)
(global-set-key (kbd "C-j") 'backward-char)
(global-set-key (kbd "C-u") 'aquamacs-move-beginning-of-line)
(global-set-key (kbd "C-o") 'aquamacs-move-end-of-line)
(global-set-key (kbd "C-d") 'scroll-up)
(global-set-key (kbd "C-e") 'scroll-down)
(global-set-key (kbd "C-'") 'recenter-top-bottom)
(global-set-key (kbd "C-n") 'kill-line)
;;; I prefer cmd key for meta
(setq mac-option-key-is-meta nil
mac-command-key-is-meta t
mac-command-modifier 'meta
mac-option-modifier 'none)