diff options
| -rw-r--r-- | .emacs.pure | 7 | ||||
| -rw-r--r-- | .emacs.termfix | 20 |
2 files changed, 27 insertions, 0 deletions
diff --git a/.emacs.pure b/.emacs.pure index 085f6ea..8799205 100644 --- a/.emacs.pure +++ b/.emacs.pure | |||
| @@ -1,6 +1,13 @@ | |||
| 1 | ;; Set up the keyboard so the delete key on both the regular keyboard | 1 | ;; Set up the keyboard so the delete key on both the regular keyboard |
| 2 | ;; and the keypad delete the character under the cursor and to the right | 2 | ;; and the keypad delete the character under the cursor and to the right |
| 3 | ;; under X, instead of the default, backspace behavior. | 3 | ;; under X, instead of the default, backspace behavior. |
| 4 | |||
| 5 | ;; Added by Package.el. This must come before configurations of | ||
| 6 | ;; installed packages. Don't delete this line. If you don't want it, | ||
| 7 | ;; just comment it out by adding a semicolon to the start of the line. | ||
| 8 | ;; You may delete these explanatory comments. | ||
| 9 | ;;(package-initialize) | ||
| 10 | |||
| 4 | (global-set-key [delete] 'delete-char) | 11 | (global-set-key [delete] 'delete-char) |
| 5 | (global-set-key [kp-delete] 'delete-char) | 12 | (global-set-key [kp-delete] 'delete-char) |
| 6 | 13 | ||
diff --git a/.emacs.termfix b/.emacs.termfix index 704937f..6195cb4 100644 --- a/.emacs.termfix +++ b/.emacs.termfix | |||
| @@ -1,6 +1,13 @@ | |||
| 1 | ;; Set up the keyboard so the delete key on both the regular keyboard | 1 | ;; Set up the keyboard so the delete key on both the regular keyboard |
| 2 | ;; and the keypad delete the character under the cursor and to the right | 2 | ;; and the keypad delete the character under the cursor and to the right |
| 3 | ;; under X, instead of the default, backspace behavior. | 3 | ;; under X, instead of the default, backspace behavior. |
| 4 | |||
| 5 | ;; Added by Package.el. This must come before configurations of | ||
| 6 | ;; installed packages. Don't delete this line. If you don't want it, | ||
| 7 | ;; just comment it out by adding a semicolon to the start of the line. | ||
| 8 | ;; You may delete these explanatory comments. | ||
| 9 | ;;(package-initialize) | ||
| 10 | |||
| 4 | (global-set-key [delete] 'delete-char) | 11 | (global-set-key [delete] 'delete-char) |
| 5 | (global-set-key [kp-delete] 'delete-char) | 12 | (global-set-key [kp-delete] 'delete-char) |
| 6 | 13 | ||
| @@ -97,11 +104,24 @@ | |||
| 97 | ;;(autoload 'php-mode "php-mode" "Mode for editing PHP source files") | 104 | ;;(autoload 'php-mode "php-mode" "Mode for editing PHP source files") |
| 98 | ;;(add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode)) | 105 | ;;(add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode)) |
| 99 | 106 | ||
| 107 | |||
| 100 | ;; Lua | 108 | ;; Lua |
| 101 | (autoload 'lua-mode "lua-mode" "Lua editing mode." t) | 109 | (autoload 'lua-mode "lua-mode" "Lua editing mode." t) |
| 102 | (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode)) | 110 | (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode)) |
| 103 | ;;(add-to-list 'interpreter-mode-alist '("lua" . lua-mode)) | 111 | ;;(add-to-list 'interpreter-mode-alist '("lua" . lua-mode)) |
| 104 | 112 | ||
| 113 | |||
| 114 | ;; Markdown | ||
| 115 | (autoload 'markdown-mode "markdown-mode" | ||
| 116 | "Major mode for editing Markdown files" t) | ||
| 117 | (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) | ||
| 118 | (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) | ||
| 119 | |||
| 120 | (autoload 'gfm-mode "markdown-mode" | ||
| 121 | "Major mode for editing GitHub Flavored Markdown files" t) | ||
| 122 | (add-to-list 'auto-mode-alist '("README\\.md\\'" . gfm-mode)) | ||
| 123 | |||
| 124 | |||
| 105 | ;; YAML | 125 | ;; YAML |
| 106 | (require 'yaml-mode) | 126 | (require 'yaml-mode) |
| 107 | (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) | 127 | (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) |
