(not (memq 'git vc-handled-backends))
(setq vc-handled-backends (cons 'GIT vc-handled-backends)))
-(setq magit-log-cutoff-length 512)
+(setq magit-log-cutoff-length 512
+ magit-log-section-arguments '("-n256" "--decorate" "--graph"))
(defun mdw-magit-try-load-config-extensions ()
(trap (magit-load-config-extensions)))
(add-hook 'magit-mode-hook 'mdw-magit-try-load-config-extensions)
eshell-cmpl-cycle-completions nil)
(setq dired-deletion-confirmer ;Make deletion easier in dired
(symbol-function 'y-or-n-p)
+ delete-by-moving-to-trash t
dired-listing-switches "-alF" ;Do `ls -F' things in dired windows
wdired-allow-to-change-permissions 'advanced)
(setq read-quoted-char-radix 16) ;C-q HEX-STUFF [RET]
(setq scroll-step 5) ;Don't scroll too much at a time
(setq blink-cursor-blinks 0) ;Keep blinking the cursor
(setq-default fill-column mdw-text-width) ;I use rather narrow windows
+(setq adaptive-fill-mode nil) ;I have my own machinery instead
(setq reb-re-syntax 'string) ;Enough backslashes even with this
(setq-default comment-column 40) ;Set a standard comment column
(setq-default truncate-partial-width-windows nil
(global-set-key [?\C-c ?t ?w] 'timeclock-workday-remaining-string)
(global-set-key [?\C-c ?t ?s] 'timeclock-status-string)
(global-set-key [?\C-c ?m ?m] 'magit-status)
+ (global-set-key [?\C-c ?m ?b] 'magit-blame)
(global-set-key [?\C-c ?m ?d] 'magit-dispatch-popup)
- (global-set-key [?\C-c ?m ?w] 'magit-wip-log)
+ (global-set-key [?\C-c ?m ?f] 'magit-find-file)
+ (global-set-key [?\C-c ?m ?4 ?f] 'magit-find-file-other-window)
(global-set-key [?\C-c ?m ?r] 'magit-list-repositories)
- (global-set-key [?\C-c ?m ?b] 'magit-blame)
+ (global-set-key [?\C-c ?m ?w] 'magit-wip-log)
(global-set-key [?\C-c ?p ?p] 'mdw-mpc-play-or-pause)
(global-set-key [?\C-c ?p ?s] 'mdw-mpc-stop)
(global-set-key [?\C-c ?p ?<] 'mdw-mpc-prev)