add select-window-index to .emacs