I saw here questions about moving the cursor from window to window using C-x oand M-- C-x o. Good.
I want to match this with C-TABand 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-TABworks, but not C-S-TAB.
Minibuffer tells me:
Wrong type argument: commandp, (other-window -1)
I tried without a bracket around another window, but that didn't work either.
In short, I'm not sure how to pass optional arguments to functions in my .emacs.
Help me please?
Edit to add version: (emacs 22.3.1 on windows)
source
share