Support Milkode search for Emacs.
anything-milkode.el use anything
.
Need emacs-milkode.
With anything-grep.el & milkode.el.
(auto-install-from-url "http://www.emacswiki.org/cgi-bin/wiki/download/anything-grep.el")
(auto-install-from-url "https://raw.github.com/ongaeshi/emacs-milkode/master/milkode.el")
(auto-install-from-url "https://raw.github.com/ongaeshi/emacs-milkode/master/anything-milkode.el")
(require 'anything-milkode)
;; Use anything-grep single line mode
(setq anything-grep-multiline nil)
;; Shortcut setting (Optional)
(global-set-key (kbd "M-g") 'anything-milkode)
(global-set-key (kbd "C-x a f") 'anything-milkode-files)
;; popwin setting (Optional)
(push '("*grep*" :noselect t) popwin:special-display-config)
(push '("*anything milkode*") popwin:special-display-config)
(push '("*anything milkode files*") popwin:special-display-config)
Can use all emacs-milkode features.
Command | Description |
---|---|
M-x anything-milkode | Milkode search using anything-grep . |
With C-u | milkode:search |
M-x anything-milkode-files | Jump to registered files and package directories with anything . |
With C-u | Clear cache. |
- When you search for direct pass
/path/to/dir:15
jump directly to the specified row. - Move the cursor to direct pass on a text file,
anything-milkode
can jump
Displayed direct pass to click the line number in the 'milk web' (ex. http://kodeworld.ongaeshi.me/)
MIT
Copyright (c) 2013 ongaeshi <[email protected]>