166 ;; (global-set-key [backspace] 'backward-delete-char-untabify) ; not work properly in *info* mode |
166 ;; (global-set-key [backspace] 'backward-delete-char-untabify) ; not work properly in *info* mode |
167 |
167 |
168 ;; setting some f[1-12] keys |
168 ;; setting some f[1-12] keys |
169 (global-set-key [f1] 'help) |
169 (global-set-key [f1] 'help) |
170 (global-set-key [f2] 'save-buffer) |
170 (global-set-key [f2] 'save-buffer) |
171 (global-set-key [f3] 'ediff-buffers) |
171 ;; (global-set-key [xxx] 'ediff-buffers) |
172 (global-set-key [f4] 'ispell-buffer) |
172 (global-set-key [f4] 'ispell-buffer) |
173 (global-set-key [f8] 'kill-this-buffer) |
173 (global-set-key [f8] 'kill-this-buffer) |
174 (global-set-key [M-f4] 'save-buffers-kill-emacs) |
174 (global-set-key [M-f4] 'save-buffers-kill-emacs) |
175 |
175 |
176 ;; search |
176 ;; search |
177 (global-set-key [M-f7] 'search-forward) |
177 (global-set-key [f3] 'search-forward) |
|
178 (global-set-key [S-f3] 'search-backward) |
178 ;; *Occur* |
179 ;; *Occur* |
179 (global-set-key (kbd "\e\eo") 'occur) |
180 (global-set-key (kbd "\e\eo") 'occur) |
180 |
181 |
181 ;; frames, windows manipulation, switch buffers |
182 ;; frames, windows manipulation, switch buffers |
182 (global-set-key [C-tab] 'other-window) |
183 (global-set-key [C-tab] 'other-window) |
294 |
295 |
295 |
296 |
296 ;; ---------------------------------------------------------------------- |
297 ;; ---------------------------------------------------------------------- |
297 ;; *grep* |
298 ;; *grep* |
298 (setq grep-command "find . -name '*' -exec grep -nH '' {} ;" |
299 (setq grep-command "find . -name '*' -exec grep -nH '' {} ;" |
299 grep-find-command "find . -type f ! -path '*.svn' ! -path '*CVS' -name \"*\" -print0 | xargs -0 -e grep -nH " |
300 grep-find-command "find . -type f ! -path '*.svn' ! -path '*CVS' ! -path '*.hg' -name '*' -print0 | xargs -0 -e grep -nH " |
300 ;; grep-highlight-matches t |
301 grep-highlight-matches t |
301 grep-tree-command "find <D> <X> -type f <F> -print0 | xargs -0 -e grep <C> -nH <R>" |
302 grep-tree-command "find <D> <X> -type f <F> -print0 | xargs -0 -e grep <C> -nH <R>" |
302 grep-use-null-device t) |
303 grep-use-null-device t) |
303 (setq blink-matching-paren-on-screen t) |
304 (setq blink-matching-paren-on-screen t) |
304 |
305 |
305 ;; ---------------------------------------------------------------------- |
306 ;; ---------------------------------------------------------------------- |