-
Notifications
You must be signed in to change notification settings - Fork 1
/
web-developement.el
26 lines (23 loc) · 1006 Bytes
/
web-developement.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
;; Here I put everything for web development, including:
;; * php
;; * ((n)x))html
(autoload 'php-mode "~/elisp/php-mode/php-mode.el" "Edit PHP-files (almost) nicely" t)
;; (add-hook 'html-mode-hook 'setup-html-umlauts)
;; (add-hook 'php-mode-hook 'setup-html-umlauts)
(define-minor-mode umlaut-mode
"This is a small utility for easy entring umlauts in specially encoded
Sites. Therefore, umlauts are automatically substituted by their
corresponding HTML equivalents."
nil
" Ü"
'(
((kbd "ä") . (lambda () (interactive)(insert "ä")))
((kbd "Ä") . (lambda () (interactive)(insert "Ä")))
((kbd "ö") . (lambda () (interactive)(insert "ö")))
((kbd "Ö") . (lambda () (interactive)(insert "Ö")))
((kbd "ü") . (lambda () (interactive)(insert "ü")))
((kbd "Ü") . (lambda () (interactive)(insert "Ü")))
((kbd "ß") . (lambda () (interactive)(insert "ß")))
((kbd "M-RET") . (lambda () (interactive)(insert "<br/>\n")))
)
)