X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/f646ea77a485172601653f169440bc3d2006a70d..0f2aab7bf3c99841ef3090480a0cbde310782a30:/dot/emacs diff --git a/dot/emacs b/dot/emacs index d06795d..1a69858 100644 --- a/dot/emacs +++ b/dot/emacs @@ -59,6 +59,8 @@ (not (memq 'git vc-handled-backends)) (setq vc-handled-backends (cons 'GIT vc-handled-backends))) +(setq magit-log-cutoff-length 512) + (trap (or mdw-fast-startup (require 'p4))) (trap (or mdw-fast-startup (require 'tex-site))) @@ -269,6 +271,10 @@ (define-key outline-mode-prefix-map [?\C-r] 'reveal-mode) (define-key outline-mode-prefix-map [?\C--] 'mdw-outline-collapse-all))) +(setq imenu-auto-rescan t + imenu-auto-rescan-maxout (* 128 1024) + imenu-max-items 60) + (setq cltl2-root-url (mdw-config 'cltl-url)) (setq common-lisp-hyperspec-root (mdw-config 'hyperspec-url)) @@ -465,6 +471,7 @@ 'mouse-drag-vertical-line) (global-set-key [vertical-scroll-bar C-mouse-1] #'(lambda () (interactive))) + (global-set-key [M-S-mouse-3] 'imenu) (global-set-key [XF86WakeUp] "") (and (not mdw-fast-startup) (fboundp 'hippie-expand) (global-set-key [?\M-/] 'hippie-expand))) @@ -539,6 +546,7 @@ (setq interpreter-mode-alist (append `(("runlisp" . lisp-mode) + ("@BASH" . sh-mode) ("@PYTHON@" . python-mode) ("@PERL@" . perl-mode) ("@TCLSH@" . tcl-mode)