Bind 'F7' to 'rgrep' as 'M-F7' does not possible in terminal.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 06 Nov 2011 00:40:26 +0200
changeset 768 4af9b5e3ac15
parent 767 47c2dbdb69dd
child 769 5ed69391dc95
Bind 'F7' to 'rgrep' as 'M-F7' does not possible in terminal.
.emacs-my
--- a/.emacs-my	Sun Nov 06 00:16:54 2011 +0200
+++ b/.emacs-my	Sun Nov 06 00:40:26 2011 +0200
@@ -498,7 +498,6 @@
 (when (< emacs-major-version 23)
   (global-set-key (kbd "M-s o") 'occur)
   )
-(global-set-key [f7] 'occur)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "grep, find")
@@ -527,7 +526,7 @@
        (add-to-list 'grep-find-ignored-files "GPATH")
        )
      ))
-
+(global-set-key [f7] 'rgrep)
 (global-set-key [M-f7] 'rgrep)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;