[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 9020f42 22/68: ace-window.el (ace-window): update doc
From: |
Oleh Krehel |
Subject: |
[elpa] master 9020f42 22/68: ace-window.el (ace-window): update doc |
Date: |
Sat, 21 Mar 2015 19:06:54 +0000 |
branch: master
commit 9020f42a70455693b38a6b8e230f9210cb03b2df
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ace-window.el (ace-window): update doc
---
ace-window.el | 24 ++++++++++++++++++++----
1 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/ace-window.el b/ace-window.el
index 0add6b2..9d040cd 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -47,6 +47,12 @@
;;
;; This way they're all on the home row, although the intuitive
;; ordering is lost.
+;;
+;; When prefixed with one `universal-argument', instead of switching
+;; to selected window, the selected window is swapped with current one.
+;;
+;; When prefixed with two `universal-argument', the selected window is
+;; deleted instead.
;;; Code:
(require 'ace-jump-mode)
@@ -204,12 +210,22 @@ HANDLER is a function that takes a window argument."
(aw-generic " Ace - Swap Window" aw-swap-window)
"Ace swap window.")
+
+
;;;###autoload
(defun ace-window (arg)
- "Ace jump to window and perform an action based on prefix ARG.
-- with no arg: select window
-- with one arg: swap window
-- with double arg: delete window"
+ "Select a window with `ace-jump-mode'and perform an action based on prefix
ARG.
+Variations are described below.
+
+By default, behaves like extended `other-window'.
+
+Prefixed with one \\[universal-argument], does a swap between
+ selected window and current window, so that the selected buffer
+ moves to current window (and current buffer moves to selected
+ window).
+
+Prefixed with two \\[universal-argument]'s, deletes the selected
+ window."
(interactive "p")
(cl-case arg
(4 (ace-swap-window))
- [elpa] master 4de62ee 15/68: Merge pull request #8 from kyleam/ace-jump-update, (continued)
- [elpa] master 4de62ee 15/68: Merge pull request #8 from kyleam/ace-jump-update, Oleh Krehel, 2015/03/21
- [elpa] master dd44ece 13/68: ace-window.el (aw-delete-window): allow to delete current window, Oleh Krehel, 2015/03/21
- [elpa] master 18f300a 12/68: Merge pull request #5 from kyleam/fix-selection, Oleh Krehel, 2015/03/21
- [elpa] master f0b55c8 18/68: Merge pull request #9 from demon386/master, Oleh Krehel, 2015/03/21
- [elpa] master 8f20278 16/68: ace-window.el (aw-generic): switch to cl-position, Oleh Krehel, 2015/03/21
- [elpa] master 6053545 17/68: Respect `aw-scope' when jumping with `next-window', Oleh Krehel, 2015/03/21
- [elpa] master 5127bfd 20/68: ace-window.el (aw-generic): finalize improve for hscroll, Oleh Krehel, 2015/03/21
- [elpa] master 12a34df 19/68: ace-window.el (aw-generic): improve for hscroll, Oleh Krehel, 2015/03/21
- [elpa] master 1082953 24/68: ace-window.el: add custom buffer ignoring, Oleh Krehel, 2015/03/21
- [elpa] master c351368 23/68: ace-window.el (aw-visual-area<): improve., Oleh Krehel, 2015/03/21
- [elpa] master 9020f42 22/68: ace-window.el (ace-window): update doc,
Oleh Krehel <=
- [elpa] master 56d4aee 27/68: ace-window.el: tag 0.5.0, Oleh Krehel, 2015/03/21
- [elpa] master 5174ca2 25/68: ace-window.el (aw-generic): handle zero-length read-only buffers better, Oleh Krehel, 2015/03/21
- [elpa] master 0e821a2 29/68: ace-window.el (aw-offset): use inhibit-field-text-motion t, Oleh Krehel, 2015/03/21
- [elpa] master e0531fd 26/68: ace-window.el: add work-around for autoload, Oleh Krehel, 2015/03/21
- [elpa] master b7b8e72 28/68: ace-window.el (aw-list-visual-area): improve, Oleh Krehel, 2015/03/21
- [elpa] master f7001fb 33/68: ace-window.el (aw-background): new custom, Oleh Krehel, 2015/03/21
- [elpa] master 038a426 31/68: ace-window.el: whitespace, Oleh Krehel, 2015/03/21
- [elpa] master c8d7ae1 21/68: ace-window.el: change version to 0.3.0, Oleh Krehel, 2015/03/21
- [elpa] master 5fb2caf 36/68: ace-window.el: mark two customs as boolean, Oleh Krehel, 2015/03/21
- [elpa] master 3a06c99 35/68: ace-window.el (aw--doit): fix conflict with helm, Oleh Krehel, 2015/03/21