.emacs-my
changeset 217 1c42ba3ac4ba
parent 216 ccc50f3ab69a
child 218 1a48dde2dfa3
equal deleted inserted replaced
216:ccc50f3ab69a 217:1c42ba3ac4ba
   119  scroll-margin 2
   119  scroll-margin 2
   120  scroll-preserve-screen-position t
   120  scroll-preserve-screen-position t
   121  )
   121  )
   122 
   122 
   123 ;; ----------------------------------------------------------------------
   123 ;; ----------------------------------------------------------------------
       
   124 ;; search
       
   125 (setq case-fold-search t)
       
   126 
       
   127 ;; ----------------------------------------------------------------------
       
   128 ;; *Occur*
       
   129 (global-set-key [f7] 'occur)            ; Key binding as in mc
       
   130 
       
   131 ;; ----------------------------------------------------------------------
   124 ;; *Text*
   132 ;; *Text*
   125 (setq default-major-mode 'text-mode)
   133 (setq default-major-mode 'text-mode)
   126 
   134 
   127 ;; ----------------------------------------------------------------------
   135 ;; ----------------------------------------------------------------------
   128 ;; syntax highlighting
   136 ;; syntax highlighting
   202 (global-set-key [f4]    'ispell-buffer)
   210 (global-set-key [f4]    'ispell-buffer)
   203 (global-set-key [S-f6]  'rename-buffer)
   211 (global-set-key [S-f6]  'rename-buffer)
   204 (global-set-key [f8]    'kill-this-buffer)
   212 (global-set-key [f8]    'kill-this-buffer)
   205 (global-set-key [M-f4]  'save-buffers-kill-emacs)
   213 (global-set-key [M-f4]  'save-buffers-kill-emacs)
   206 (global-set-key [f6]    'toggle-truncate-lines)
   214 (global-set-key [f6]    'toggle-truncate-lines)
   207 
       
   208 ;; *Occur*
       
   209 (global-set-key [f7] 'occur)            ; Key binding as in mc
       
   210 
   215 
   211 ;; frames, windows manipulation, switch buffers
   216 ;; frames, windows manipulation, switch buffers
   212 (global-set-key [?\C-x right] 'next-buffer)
   217 (global-set-key [?\C-x right] 'next-buffer)
   213 (global-set-key [?\C-x left]  'previous-buffer)
   218 (global-set-key [?\C-x left]  'previous-buffer)
   214 
   219