Incremental search by F3, decr by S-F3 now. Impruved grep-find search.
authorOleksander Gavenko <gavenko_a@3g.ua>
Thu, 17 Apr 2008 23:58:09 +0300
changeset 2 98c662ae8707
parent 1 30e99e01ddc4
child 3 2a74cffeb232
Incremental search by F3, decr by S-F3 now. Impruved grep-find search.
.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 <D> <X> -type f <F> -print0 | xargs -0 -e grep <C> -nH  <R>"
       grep-use-null-device t)
 (setq blink-matching-paren-on-screen t)