emacs: move undo-tree underneath modes
This commit is contained in:
parent
9ae3644628
commit
4c78c8609c
1 changed files with 4 additions and 4 deletions
|
@ -13,10 +13,6 @@
|
||||||
(global-hl-line-mode)
|
(global-hl-line-mode)
|
||||||
(column-number-mode)
|
(column-number-mode)
|
||||||
|
|
||||||
;; undo-tree
|
|
||||||
(package-install 'undo-tree)
|
|
||||||
(global-undo-tree-mode)
|
|
||||||
|
|
||||||
;; basic key binds
|
;; basic key binds
|
||||||
(global-set-key (kbd "C-`") 'other-window)
|
(global-set-key (kbd "C-`") 'other-window)
|
||||||
(global-set-key (kbd "C-c c") 'compile)
|
(global-set-key (kbd "C-c c") 'compile)
|
||||||
|
@ -116,6 +112,10 @@ One will be created if none exist."
|
||||||
(font-lock-add-keywords 'd-mode
|
(font-lock-add-keywords 'd-mode
|
||||||
'(("\\<\\(bool\\|byte\\|ubyte\\|char\\|delegate\\|double\\|float\\|function\\|int\\|long\\|short\\|uint\\|ulong\\|ushort\\|cent\\|ucent\\|real\\|ireal\\|idouble\\|ifloat\\|creal\\|cfloat\\|cdouble\\|wchar\\|dchar\\|void\\|string\\|wstring\\|dstring\\|__vector\\|Runtime\\|Thread\\)\\>" . 'font-lock-type-face)))
|
'(("\\<\\(bool\\|byte\\|ubyte\\|char\\|delegate\\|double\\|float\\|function\\|int\\|long\\|short\\|uint\\|ulong\\|ushort\\|cent\\|ucent\\|real\\|ireal\\|idouble\\|ifloat\\|creal\\|cfloat\\|cdouble\\|wchar\\|dchar\\|void\\|string\\|wstring\\|dstring\\|__vector\\|Runtime\\|Thread\\)\\>" . 'font-lock-type-face)))
|
||||||
|
|
||||||
|
;; undo-tree
|
||||||
|
(package-install 'undo-tree)
|
||||||
|
(global-undo-tree-mode)
|
||||||
|
|
||||||
;; highlight colours
|
;; highlight colours
|
||||||
(package-install 'rainbow-mode)
|
(package-install 'rainbow-mode)
|
||||||
(add-hook 'prog-mode-hook 'rainbow-mode)
|
(add-hook 'prog-mode-hook 'rainbow-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue