Commit e9feb305 authored by Dave Love's avatar Dave Love

(fortran-mode-map): Bind M-^. Use \M-, not \e elsewhere.

parent 7922d62e
......@@ -393,18 +393,20 @@ format style.")
(setq fortran-mode-map (make-sparse-keymap))
(define-key fortran-mode-map ";" 'fortran-abbrev-start)
(define-key fortran-mode-map "\C-c;" 'fortran-comment-region)
(define-key fortran-mode-map "\e\C-a" 'beginning-of-fortran-subprogram)
(define-key fortran-mode-map "\e\C-e" 'end-of-fortran-subprogram)
(define-key fortran-mode-map "\e;" 'fortran-indent-comment)
(define-key fortran-mode-map "\e\C-h" 'mark-fortran-subprogram)
(define-key fortran-mode-map "\e\n" 'fortran-split-line)
(define-key fortran-mode-map "\M-\C-a" 'beginning-of-fortran-subprogram)
(define-key fortran-mode-map "\M-\C-e" 'end-of-fortran-subprogram)
(define-key fortran-mode-map "\M-;" 'fortran-indent-comment)
(define-key fortran-mode-map "\M-\C-h" 'mark-fortran-subprogram)
(define-key fortran-mode-map "\M-\n" 'fortran-split-line)
(define-key fortran-mode-map "\n" 'fortran-indent-new-line)
(define-key fortran-mode-map "\e\C-q" 'fortran-indent-subprogram)
(define-key fortran-mode-map "\M-\C-q" 'fortran-indent-subprogram)
(define-key fortran-mode-map "\C-c\C-w" 'fortran-window-create-momentarily)
(define-key fortran-mode-map "\C-c\C-r" 'fortran-column-ruler)
(define-key fortran-mode-map "\C-c\C-p" 'fortran-previous-statement)
(define-key fortran-mode-map "\C-c\C-n" 'fortran-next-statement)
(define-key fortran-mode-map "\C-c\C-d" 'fortran-join-line)
(define-key fortran-mode-map "\C-c\C-d" 'fortran-join-line) ; like f90
(define-key fortran-mode-map
"\M-^" 'fortran-join-line) ; basically a delete-indentation equivalent
(define-key fortran-mode-map "\C-xnd" 'fortran-narrow-to-subprogram)
;(define-key fortran-mode-map "\t" 'fortran-indent-line)
(define-key fortran-mode-map "0" 'fortran-electric-line-number)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment