http://www.bookshelf.jp/elc/color-moccur.el
http://www.bookshelf.jp/elc/moccur-edit.el
一个是多文件查找,一个是多文件替换。
效果如下图:
在你的.EMACS中添加
(require 'moccur-edit)
执行 moccur-grep
先输入目录,然后再输入查找的字符(支持中文)回车,OK.
还有一个moccur-grep-find 该命令支持子目录查询。
(require 'tooltip)
(require 'eldoc)
(require 'avoid)
(require 'shell)
(require 'shell-command)
(require 'ansi-color)
(require 'flymake)
(require 'flymake-shell)
(require 'kill-ring-search)
(require 'highlight-parentheses)
(require 'top-mode)
(require 'pick-backup)
(require 'autoload)
(require 'ppindent)
(require 'find-dired-lisp)
(require 'rx)
(require 'sregex)
(require 'windresize)
(require 'etags)
(require 'save-abbreviation-mode)
(require 'zone)
(require 'maxima)
(require 'imaxima)
(require 'tempbuf)
(require 'doxymacs)
(require 'info)
(require 'info+)
(require 'apt-sources)
(require 'rect)
(require 'rect-mark)
(require 'term)
(require 'uniquify)
(require 'org)
(require 'color-moccur)
(require 'moccur-edit)
(require 'apt-utils)
(require 'g)
(require 'cycle-buffer)
(require 'tramp)
(require 'rcirc)
(require 'rcirc-color)
(require 'rcirc-sound)
(require 'windows)
(require 'festival)
(require 'what-domain)
(require 'goto-last-change)
(require 'iman)
(require 'yasnippet)
(require 'showtip)
(require 'less)
(require 'google-define)
(require 'java-mode-indent-annotations)
(require 'jde-complete)
(require 'beanshell)
(require 'font-lock)
(require 'abbrev)
(require 'jde)
(require 'crosshairs)
(require 'mldonkey)
(require 'wget)
(require 'ansi-color)
(require 'miniedit)
(require 'buffer-move)
(require 'scroll-mode-line-mode)
(require 'cc-mode)
(require 'redo)
(require 'ascii)
(require 'ediff)
(require 'ediff+)
(require 'ctypes)
(require 'modeline-posn)
(require 'show-wspace)
(require 'windmove)
(require 'compile-dwim)
(require 'eassist)
(require 'chart)
(require 'ibuffer)
(require 'ido)
(require 'tabbar)
(require 'browse-kill-ring)
(require 'recentf)
(require 'xcscope)
(require 'linum)
(require 'smiley)
(require 'emms-source-file)
(require 'emms-source-playlist)
(require 'emms-player-simple)
(require 'emms-player-mplayer)
(require 'emms-playlist-mode)
(require 'emms-info)
(require 'emms-cache)
(require 'emms-playing-time)
(require 'emms-volume)
(require 'emms-lyrics)
(require 'emms-setup)
(require 'emms-player-mpg321-remote)
(require 'emms-streams)
(require 'emms-volume-amixer)
(require 'emms-lyrics-download)
(require 'emms-i18n)
(require 'emms-history)
(require 'emms-browser)
(require 'emms-cache)
(require 'emms-tag-editor)
(require 'executable)
(require 'w3m)
(require 'w3m-search)
(require 'w3m-bookmark)
(require 'w3m-tabmenu)
(require 'w3m-wget)
(require 'w3m-lnum)
(require 'w3m-form)
(require 'w3m-util)
(require 'w3m-symbol)
(require 'dired)
(require 'dired+)
(require 'dired-details)
(require 'dired-details+)
(require 'dired-tar)
(require 'dired-single)
(require 'dired-x)
(require 'dired-view)
(require 'dired-isearch)
(require 'wdired)
(require 'smooth-scrolling)
(require 'fvwm-mode)
(require 'nnmairix)
(require 'bbdb)
(require 'bbdb-autoloads)
(require 'shell-history)
(require 'paredit)
(require 'mwe-log-commands)
(require 'predictive)
(require 'contentswitch)
(require 'etest)
(require 'fringe-helper)
(require 'newcomment)
(require 'icicles)
(require 'icicles-install)
(require 'cus-edit+)
(require 'eyedropper)
(require 'help-mode+)
(require 'help-fns+)
(require 'lib-requires)
(require 'timid)
(require 'gtk-look)
(require 'starttls)
(require 'smtpmail)
(require 'supercite)
(require 'eperiodic)
(require 'gnus-srvr)
(require 'gnus-demon)
(require 'apropos)
(require 'redo+)
(require 'uptimes)
(require 'ub)
(require 'cal-china-x)
(require 'ielm)
(require 'traverselisp)
(require 'goto-chg)
(require 'levents)
(require 'gtags)
(require 'xgtags)
(require 'macros+)
(require 'switch-to-new-buffer)
(require 'apropos)
(require 'apropos-fn+var)
(require 'pp+)
(require 'elscreen)
(require 'breadcrumb)
(require 'unbound)
(require 'window-number)
(require 're-builder)
(require 'scim-bridge-zh-si)
(require 'highlight-fixmes-mode)
(require 'cedet)
(require 'ecb)
(require 'semantic)
(require 'semantic-ia)
(require 'hideshow-fringe)
(require 'cursor-chg)
(require 'crontab-mode)
(require 'edit-env)
(require 'intel-hex-mode)
(require 'wtf)
(require 'slime)
(require 'slime-autodoc)
(require 'slime-asdf)
(require 'slime-banner)
(require 'slime-clipboard)
(require 'slime-enclosing-context)
(require 'slime-fuzzy)
(require 'slime-parse)
(require 'slime-references)
(require 'slime-scheme)
(require 'cldoc)
(require 'haskell-mode)
(require 'haskell-ghci)
(require 'haskell-indent)
(require 'eimp)
(require 'look-mode)
(require 'anything)
(require 'anything-config)
(require 'anything-complete)
(require 'anything-match-plugin)
(require 'anything-gtags)
(require 'anything-c-yasnippet)
(require 'anything-c-moccur)
(require 'anything-etags)
(require 'sys-apropos)
(require 'ireplace)
(require 'file-journal)
(require 'babel)
(require 'auto-complete)
(require 'auto-complete-cpp)
(require 'auto-complete-emacs-lisp)
(require 'auto-complete-gtags)
(require 'auto-complete-semantic)
(require 'auto-complete-yasnippet)
(require 'auto-complete-css)
(require 'ac-dabbrev)
(require 'boxquote)
(require 'erc)
(require 'erc-highlight-nicknames)
(require 'files+)
(require 'ls-lisp+)
(require 'magit)
(require 'egg)
(require 'egg-grep)
(require 'sr-speedbar)
(require 'winpoint)
(require 'xray)
(require 'ispell)
(require 'color-grep)
(require 'grep-edit)
(require 'hs-lint)
(require 'find-lisp)
(require 'hl-sexp)
(require 'jump-dls)
(require 'auto-document)
(require 'highlight-cl)
(require 'company)
(require 'basic-edit-toolkit)
(require 'fullscreen)
(require 'shell-command-extension)
(require 'lazycat-toolkit)
(require 'wget-extension)
(require 'find-func-extension)
(require 'window-extension)
(require 'buffer-extension)
(require 'lazy-set-key)
(require 'sdcv)
(require 'w3m-extension)
(require 'thing-edit)
(require 'thing-edit-extension)
(require 'rcirc-notify+)
(require 'rcirc-extension)
(require 'doc-view-extension)
(require 'org-extension)
(require 'org-w3m)
(require 'alarm)
(require 'mail-notify)
(require 'gnus-notify+)
(require 'speedbar-extension)
(require 'etags-extension)
(require 'multi-term)
(require 'lazycat-c-style)
(require 'festival-extension)
(require 'emms-extension)
(require 'paredit-extension)
(require 'xgtags-extension)
(require 'c-mode-extension)
(require 'newsticker-extension)
(require 'scim-bridge-extension)
(require 'dired-extension)
(require 'wdired-extension)
(require 'dired-sort)
(require 'dired-open)
(require 'flymake-extension)
(require 'haskell-extension)
(require 'show-help)
(require 'rect-extension)
(require 'stripe-buffer)
(require 'auto-scroll)
(require 'tabbar-extension)
(require 'auto-complete-extension)
(require 'erc-extension)
(require 'erc-nick-notify)
(require 'lisppaste-extension)
(require 'eldoc-extension)
(require 'gnus-switch)
(require 'gnus-summary-stripe)
(require 'paste2)
(require 'multi-shell)
(require 'auto-install)
(require 'auto-install-extension)
(require 'doi)
(require 'doi-extension)
(require 'anything-extension)
(require 'anything-auto-install)
(require 'anything-emms)
(require 'anything-irfc)
(require 'newsticker-notify)
(require 'isearch-extension)
(require 'one-key)
(require 'one-key-config)
(require 'lazy-search)
(require 'lazy-search-extension)
(require 'gnus-extension)
(require 'ispell-extension)
(require 'yaoddmuse)
(require 'yaoddmuse-extension)
(require 'go-to-char)
(require 'elisp-depend)
(require 'irfc)
(require 'oicq)
(require 'elisp-format)
(require 'multi-scratch)
(require 'chm-view)
(require 'org-oddmuse)
来源:http://www.emacswiki.org/emacs/LazyCatDepend.el