git clone 'git://github.com/aki2o/owdriver.git'
This is a extension of Emacs that provides the function for doing various action to
other windows without
other-window in multi window situation.
In default, that's move, scroll and isearch.
Moreover, you can add the action what you want.
2014/04/27 It's available by using melpa.
2014/04/27 It's available. But, master branch only.
Download owdriver.el and put it on your load-path.
- In this case, you need to install each of the following dependency.
(require 'owdriver) (global-unset-key (kbd "M-o")) (setq owdriver-prefix-key "M-o") (owdriver-config-default) (owdriver-mode 1) (global-set-key (kbd "M-h") 'owdriver-do-scroll-right) (global-set-key (kbd "M-j") 'owdriver-do-scroll-up) (global-set-key (kbd "M-k") 'owdriver-do-scroll-down) (global-set-key (kbd "M-l") 'owdriver-do-scroll-left)
Set prefix key for using
You can control target window by the same way as active window after pushing the key only once.
For detail, see .
If you have the action which you want to do directly to target window without
Bind key to the command named
About the command, see below.
You can define the control of target window by
Then, the command named
owdriver-do-... is defined.
The same key is bound as global map by
If you add/change the key binding, use
owdriver-add-keymap before activate
Here is the default configuration by
;; Own command (owdriver-add-keymap "C-o" 'owdriver-next-window) (owdriver-add-keymap "C-S-o" 'owdriver-previous-window) (owdriver-add-keymap "<C-return>" 'owdriver-focus-window) (owdriver-add-keymap "<return>" 'owdriver-quit) (owdriver-add-keymap "C-q" 'owdriver-quit) ;; Basic command (owdriver-define-command newline t (owdriver-quit)) (owdriver-define-command scroll-up t) (owdriver-define-command scroll-up-command t) (owdriver-define-command scroll-down t) (owdriver-define-command scroll-down-command t) (owdriver-define-command scroll-left t (scroll-left 10 t)) (owdriver-define-command scroll-right t (scroll-right 10 t)) (owdriver-define-command next-line t) (owdriver-define-command previous-line t) (owdriver-define-command forward-char t) (owdriver-define-command forward-word t) (owdriver-define-command backward-char t) (owdriver-define-command backward-word t) (owdriver-define-command move-beginning-of-line t) (owdriver-define-command move-end-of-line t) (owdriver-define-command beginning-of-buffer t) (owdriver-define-command end-of-buffer t) (owdriver-define-command isearch-forward t (isearch-forward)) (owdriver-define-command isearch-backward t (isearch-backward)) (owdriver-define-command set-mark-command t) (owdriver-define-command kill-ring-save t (call-interactively 'kill-ring-save) (deactivate-mark)) ;; Third party command (owdriver-define-command pophint:do t (pophint:do :not-switch-window t)) (owdriver-define-command inertias-up t) (owdriver-define-command inertias-down t)
If you mind it, you should do configuration without
Then, you can control target window by the same way as active window.
Or, you can control directly by pushing the key bound to
You can change target window by the following way.
- push the key bound to
- give prefix argument to the command named
If is installed, show hint to select target window.
You turn back to active window by the following way.
- push the key not bound to the keymap after
- push the key bound to
If you want to change active window to target window, push the key bound to