summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.el b/init.el
index 9838ddf..20962e1 100755
--- a/init.el
+++ b/init.el
@@ -211,6 +211,8 @@
(setq calendar-date-display-form '(year "-" month "-" day))
(setq calendar-time-display-form '(24-hours ":" minutes
(if time-zone " (") time-zone (if time-zone ")")))
+; org mode
+(add-to-list 'auto-mode-alist '("TODO$" . org-mode))
; -------- use the function keys! --------
(global-set-key [f13] 'universal-argument)
@@ -218,3 +220,9 @@
(global-set-key [f14] (lambda () (interactive) (ispell-change-dictionary "italiano")))
(global-set-key [f15] (lambda () (interactive) (ispell-change-dictionary "english")))
+; -------- different keyboard, different keys --------
+(global-set-key [XF86Tools] 'universal-argument)
+; change dictionary with a single key
+(global-set-key [XF86Launch5] (lambda () (interactive) (ispell-change-dictionary "italiano")))
+(global-set-key [XF86MenuKB] (lambda () (interactive) (ispell-change-dictionary "english")))
+