diff options
| author | Kรฉvin Le Gouguec <kevin.legouguec@gmail.com> | 2023-03-05 16:15:58 +0100 |
|---|---|---|
| committer | Kรฉvin Le Gouguec <kevin.legouguec@gmail.com> | 2023-03-05 16:15:58 +0100 |
| commit | 39d1bd88e7521e3e5dc51205161187cb4ffe6439 (patch) | |
| tree | ec788d37c50545ee2575fd0d1de7f05787560a4e | |
| parent | a3e4a62e72a9e550a8dcb9cceaa342065b9355e1 (diff) | |
| download | dotfiles-39d1bd88e7521e3e5dc51205161187cb4ffe6439.tar.xz | |
Commit a bunch of .emacs stuff
* ponder magical "kill context so I can paste it into another app"
commands,
* remove obsolete Magit variables,
* make org-goto use the "path completion" UI,
* ponder better buffer names for some buffers.
| -rw-r--r-- | .emacs | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -171,6 +171,21 @@ (kill-new stuff) (message stuff)) +;; TODO: my/kill-where +;; * filename +;; * absolute, project-relative (w/o project), namespace-relative, base +;; * function +;; * line number +;; * public URL + +;; TODO: my/kill-cite +;; * prefix: nil, >, | +;; * indent +;; * attribution: see my/kill-where +;; * concise: "(manual) Node", "manual(7)" +;; * executable: (info "(manual) Node"), "man 7 manual" +;; * <https://somewhe.re/manual.html#node> + (defun my/kill-filename () (interactive) (my/kill (or (buffer-file-name) default-directory))) @@ -710,9 +725,7 @@ :custom (magit-define-global-key-bindings nil) (magit-diff-refine-hunk t) - (magit-ediff-dwim-show-on-hunks t) - (magit-log-arguments '("--graph" "--color" "--decorate" "-n256")) - (magit-log-section-arguments '("--graph" "--color" "--decorate" "-n256"))) + (magit-ediff-dwim-show-on-hunks t)) (use-package magit-blame :delight "๐") @@ -744,6 +757,7 @@ (org-ellipsis "โฆ") (org-fontify-done-headline nil) (org-fontify-quote-and-verse-blocks t) + (org-goto-interface 'outline-path-completion) (org-startup-indented t) ;; Make org-refile a bit more eager. (org-outline-path-complete-in-steps nil) @@ -780,4 +794,7 @@ ;; buffer first causes diff-mode's settings to be applied globally. :demand t) -;;; TODO: decruftify mode-line (e.g. remove superflous parens). +;;; TODO: +;; * decruftify mode-line (e.g. remove superflous parens). +;; * teach some modes to give better names to their buffers to reduce +;; clobbering: info, occur |
