# HG changeset patch # User Oleksander Gavenko # Date 1208465889 -10800 # Node ID 98c662ae8707ac0b523aa3e43695a3cb6477b2fd # Parent 30e99e01ddc41e518db1db55f11c6c15bbed9968 Incremental search by F3, decr by S-F3 now. Impruved grep-find search. diff -r 30e99e01ddc4 -r 98c662ae8707 .emacs --- a/.emacs Thu Apr 17 23:55:33 2008 +0300 +++ b/.emacs Thu Apr 17 23:58:09 2008 +0300 @@ -168,13 +168,14 @@ ;; setting some f[1-12] keys (global-set-key [f1] 'help) (global-set-key [f2] 'save-buffer) -(global-set-key [f3] 'ediff-buffers) +;; (global-set-key [xxx] 'ediff-buffers) (global-set-key [f4] 'ispell-buffer) (global-set-key [f8] 'kill-this-buffer) (global-set-key [M-f4] 'save-buffers-kill-emacs) ;; search -(global-set-key [M-f7] 'search-forward) +(global-set-key [f3] 'search-forward) +(global-set-key [S-f3] 'search-backward) ;; *Occur* (global-set-key (kbd "\e\eo") 'occur) @@ -296,8 +297,8 @@ ;; ---------------------------------------------------------------------- ;; *grep* (setq grep-command "find . -name '*' -exec grep -nH '' {} ;" - grep-find-command "find . -type f ! -path '*.svn' ! -path '*CVS' -name \"*\" -print0 | xargs -0 -e grep -nH " - ;; grep-highlight-matches t + grep-find-command "find . -type f ! -path '*.svn' ! -path '*CVS' ! -path '*.hg' -name '*' -print0 | xargs -0 -e grep -nH " + grep-highlight-matches t grep-tree-command "find -type f -print0 | xargs -0 -e grep -nH " grep-use-null-device t) (setq blink-matching-paren-on-screen t)