Hi!
I've seen questions here about moving the cursor from window to window with C-x o
and M-- C-x o
. Fine.
I want to map that to C-TAB
and C-S-TAB
.
This is what I added to my .emacs:
(global-set-key [C-tab] 'other-window)
(global-set-key [C-S-tab] '(other-window -1))
C-tab
works, but not C-S-tab
.
The minibuffer tells me:
Wrong type argument: commandp, (other-window -1)
I tried without the parenthesis around other-window, but that wouldn't work either.
In short, I'm not sure how to pass optional arguments to functions in my .emacs.
Help, please?
Edit to add version: (emacs 22.3.1 on windows)