mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2026-11-22 14:18:58 +01:00
add word wrap in magit diff view
This commit is contained in:
@@ -111,6 +111,9 @@ Reach this hydra with <C-x B>, magit-blame mode must be active
|
||||
;; FIXME: still needed?
|
||||
(add-hook 'after-init-hook 'tvd-ignore-magit-warnings-if-any t)
|
||||
|
||||
;; long lines are practically invisible in diffs, so wrap them
|
||||
(add-hook 'magit-diff-mode-hook #'visual-line-mode)
|
||||
|
||||
;; now, THIS is the pure genius me: hit "ls in magit-status buffer
|
||||
;; and end up in a dired buffer of current repository. The default
|
||||
;; binding for this is C-M-i, which is not memorizable, while "ls"
|
||||
|
||||
Reference in New Issue
Block a user