cperl-indent-level 4
cperl-continued-statement-offset 4)
+(load-library "vm-reply")
+
(make-variable-buffer-local 'indent-line-function)
; Un-disable narrow and eval-expression
(put 'narrow-to-region 'disabled nil)
(display-time)
;
(set-default 'indent-line-function 'insert-tab)
-(set-default 'electric-indent-mode nil)
+(defun defuse-electrocuting-indent ()
+ "Disable electric-indent-mode if indent-line-function is daft"
+ (and
+ (eq indent-line-function 'insert-tab)
+ (electric-indent-local-mode 0)))
+(add-hook 'after-change-major-mode-hook 'defuse-electrocuting-indent)
+;
(set-variable 'search-repeat-char 28)
(set-fringe-mode (cons 0 nil))
(if (string-match "^19\." emacs-version)
(global-set-key "\18\v" 'quicker-compile)
(global-set-key "\18\18" 'exchange-point-and-mark)
(global-set-key "\18\1a" 'load-tramp)
+ (global-set-key "\18g" 'magit-status)
+ (global-set-key "\18\eg" 'magit-dispatch-popup)
(global-set-key "\184\16" 'scroll-other-window)
(global-set-key "\184m" 'vm-mail-other-window)
(global-set-key "\189" 'vm-visit-folder)
;
;
+(winner-mode t)
+
+(global-magit-file-mode)
+
+(magit-wip-after-save-mode)
+(magit-wip-after-apply-mode)
+(magit-wip-before-change-mode)
+(setq magit-no-confirm
+ (append magit-no-confirm '(safe-with-wip)))
+
+(setq vc-handled-backends (delq 'Git vc-handled-backends))
;; (defun hack-dir-local-variables ()
;; "Read per-directory local variables for the current buffer.