|
@@ -45,15 +45,13 @@
|
|
(require 'diff-hl)
|
|
(require 'diff-hl)
|
|
;; Just enable diff-hl per buffer,
|
|
;; Just enable diff-hl per buffer,
|
|
;; it seems expensive
|
|
;; it seems expensive
|
|
-; (global-diff-hl-mode)
|
|
|
|
|
|
+;; (global-diff-hl-mode)
|
|
(add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
|
|
(add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
|
|
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
|
|
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
|
|
(diff-hl-margin-mode t)
|
|
(diff-hl-margin-mode t)
|
|
|
|
|
|
-
|
|
|
|
(require 'dimmer)
|
|
(require 'dimmer)
|
|
(setq dimmer-fraction 0.4)
|
|
(setq dimmer-fraction 0.4)
|
|
-(dimmer-mode t)
|
|
|
|
|
|
|
|
;; always enable ido mode
|
|
;; always enable ido mode
|
|
(require 'ido)
|
|
(require 'ido)
|
|
@@ -120,6 +118,12 @@
|
|
(global-set-key (kbd "<home>") 'beginning-of-line)
|
|
(global-set-key (kbd "<home>") 'beginning-of-line)
|
|
(global-set-key (kbd "<end>") 'end-of-line)
|
|
(global-set-key (kbd "<end>") 'end-of-line)
|
|
|
|
|
|
|
|
+;; Enable diff-hl mode
|
|
|
|
+(global-set-key (kbd "C-c e") 'diff-hl-mode)
|
|
|
|
+(global-set-key (kbd "C-c d") 'dimmer-mode)
|
|
|
|
+(global-set-key (kbd "C-c s") 'sublimity-mode)
|
|
|
|
+
|
|
|
|
+
|
|
;;; erc config
|
|
;;; erc config
|
|
(setq erc-nick "speskk")
|
|
(setq erc-nick "speskk")
|
|
|
|
|