(global-set-key (kbd "C-\\" ) 'toggle-input-method)
(global-set-key (kbd "C-RET") 'completion-at-point)
+(global-set-key (kbd "C-<return>") 'completion-at-point)
(unless window-system
(normal-erase-is-backspace-mode t))
((equal host "aria.cielonegro.org")
(progn
(set-frame-font "Dejavu Sans Mono 13" t)
- (set-fontset-font nil 'japanese-jisx0208 "さざなみゴシック")
- (set-fontset-font nil 'japanese-jisx0212 "さざなみゴシック")
- (set-fontset-font nil 'katakana-jisx0201 "さざなみゴシック"))))))
+ ;; Emacs 24.4.1 somehow gets very slow when the following
+ ;; lines are uncommented.
+ ;;(set-fontset-font nil 'japanese-jisx0208 "さざなみゴシック")
+ ;;(set-fontset-font nil 'japanese-jisx0212 "さざなみゴシック")
+ ;;(set-fontset-font nil 'katakana-jisx0201 "さざなみゴシック")
+ )))))
;; Hooks for newline-and-indent ------------------------------------------------
;(mapcar (lambda (hook)
(setq tsv-separator-list '("\t"))
;(add-to-list 'auto-mode-alist '("\\.[Tt][Ss][Vv]\\'" . tsv-mode))
+;; markdown-mode
+;; http://jblevins.org/projects/markdown-mode/
+(autoload 'markdown-mode "markdown-mode.el" "Major mode for editing Markdown files" t)
+(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
+
;; yaml-mode
(autoload 'yaml-mode "yaml-mode"
"Major mode for editing YAML files." t)