nxml-mode tweaks: fill column, completion, &c.
This commit is contained in:
parent
4ea6d09e85
commit
904d43a7b6
1 changed files with 4 additions and 1 deletions
|
|
@ -473,11 +473,14 @@
|
|||
|
||||
(defun my-nxml-hook ()
|
||||
(turn-on-auto-fill)
|
||||
(set-fill-column 120)
|
||||
|
||||
(local-set-key "\C-m" 'newline-and-indent)
|
||||
(local-set-key ">" 'nxml-indent-on-tag-close)
|
||||
|
||||
;; Why does nxml not play well with font lock mode, huh?
|
||||
(local-set-key (read-kbd-macro "C-x f") 'nxml-fontify-buffer))
|
||||
(local-set-key (kbd "<C-return>") 'nxml-complete)
|
||||
(local-set-key (read-kbd-macro "C-x f") 'font-lock-fontify-buffer))
|
||||
|
||||
(add-hook 'nxml-mode-hook 'my-nxml-hook)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue