Support Milkode search for Emacs.
milkode.el use M-x grep
.
If you want to search with anything, Use anything-milkode.
You can install from MELPA with package.el.
M-x package-install milkode
If you use auto-install
.
(auto-install-from-url "https://raw.github.com/ongaeshi/emacs-milkode/master/milkode.el")
Setting of ~/.emacs.d/init.el
.
(require 'milkode)
;; Shortcut setting (Your favorite things)
(global-set-key (kbd "M-g") 'milkode:search)
(global-set-key (kbd "M-s") 'milkode:search-at-point)
Gomilk is faster version written by Go.
If you want to use the Gomilk, Add to init.el
the following setting.
(setq gmilk-command "gomilk --nogroup --nocolor --smart-case")
Command | Description |
---|---|
M-x milkode:search | Milkode search using M-x grep |
M-x milkode:search-from-all-packages | Milkode search all registered packages using M-x grep |
M-x milkode:search-at-point | Milkode search current package at point text |
With C-u | Search all registered packages |
M-x milkode:display-history | Dispaly search history |
M-x milkode:add | Execute milk add |
M-x milkode:update | Execute milk update |
- 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,
milkode:search
can jump
Displayed direct pass to click the line number in the 'milk web' (ex. http://kodeworld.ongaeshi.me/)
MIT
Copyright (c) 2013 ongaeshi <ongaeshi0621@gmail.com>