| Subject: | Re: switch-dir.el (v0.9.1) - switching directory easily and interactively |
|---|---|
| From: | rubikitch@xxxxxxxxxxxxx |
| Date: | Tue, 08 Jul 2008 07:40:43 +0900 (JST) |
| Newsgroups: | gnu.emacs.sources |
From: Kazuo YAGI <kyagi@xxxxxxxxxxxxxxxx>
Subject: switch-dir.el (v0.9.1) - switching directory easily and
interactively
Date: Tue, 08 Jul 2008 03:39:19 +0900
Hi,
> I'd like to suggest a kind of utility, minor mode `switch-dir-mode'.
> This mode is to let you switch current directory easily and interactively.
I tried it.
Do you know anything.el?
It is very great candidate-selection framework.
It realizes your idea only 4 lines!
(defvar anything-c-source-switch-dir
'((name . "Switch Directory")
(candidates . switch-dir-alist)
(action ("Change directory" . cd))))
Then, add `anything-c-source-switch-dir' into `anything-sources'.
* `switch-split-window-for-alist' should be split into major-mode definition and
buffer contents definition. The former should be named as
`switch-dir-select-mode'.
* `current-window-configuration' and `set-window-configuration' should be used
when
you save and restore window configuration.
Cheers,
--
rubikitch
Blog: http://d.hatena.ne.jp/rubikitch/
Site: http://www.rubyist.net/~rubikitch/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | easy-todo.el 0.3 --- Manage your todos in an extremely easy way!, William Xu |
|---|---|
| Next by Date: | Xemacs? (was: switch-dir.el (v0.9.1) - switching directory easily and interactively), Uwe Brauer |
| Previous by Thread: | easy-todo.el 0.3 --- Manage your todos in an extremely easy way!, William Xu |
| Next by Thread: | Xemacs? (was: switch-dir.el (v0.9.1) - switching directory easily and interactively), Uwe Brauer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |