[Emacs Lisp] Personal ~/.emacs.d/ configuration folder.
Name standardization
blendoit/blendoit-init.org
@@ -129,12 +129,12 @@
129
129
130
130
#+NAME: shortcut-config
131
131
#+BEGIN_SRC emacs-lisp
132
Removed:
(defun find-init-blendoit ()
132
Added:
(defun my/find-literate-config ()
133
133
"Jump to this very file."
134
Removed:
(interactive)
135
Removed:
(find-file my/literate-config))
134
Added:
(interactive)
135
Added:
(find-file my/literate-config))
136
136
137
Removed:
(global-set-key (kbd "C-c c") 'find-init-blendoit)
137
Added:
(global-set-key (kbd "C-c c") 'my/find-literate-config)
138
138
#+END_SRC
139
139
140
140
Now, different shortcuts for other customization actions:
@@ -190,19 +190,9 @@
190
190
Open file with ~C-o~.
191
191
192
192
#+BEGIN_SRC emacs-lisp
193
Removed:
(global-set-key (kbd "C-o") 'menu-find-file-existing)
193
Added:
(global-set-key (kbd "C-o") 'find-file)
194
194
#+END_SRC
195
195
196
Removed:
We trick Emacs into opening file dialog with ~C-o~ instead of prompting for a file
197
Removed:
in minibuffer.
198
Removed:
199
Removed:
#+BEGIN_SRC emacs-lisp
200
Removed:
(defadvice find-file-read-args (around find-file-read-args-always-use-dialog-box act)
201
Removed:
"Simulate invoking menu item as if by the mouse; see `use-dialog-box'."
202
Removed:
(let ((last-nonmenu-event nil))
203
Removed:
ad-do-it))
204
Removed:
#+END_SRC
205
Removed:
206
196
*** Exit behaviours
207
197
208
198
The following bindings lead to more natural exit behaviors.
@@ -301,13 +291,14 @@
301
291
:bind (("C-f" . counsel-grep-or-swiper)))
302
292
#+END_SRC
303
293
304
Removed:
** ~evil-mode~
294
Added:
** TODO ~evil-mode~
305
295
306
296
Forgive me, for I have sinned.
307
297
308
298
#+BEGIN_SRC emacs-lisp
309
Removed:
(use-package evil)
310
Removed:
;; (evil-mode 1)
299
Added:
(use-package evil)
300
Added:
; (setq evil-toggle-key "C-c d") ; devil...
301
Added:
; (evil-mode 1)
311
302
#+END_SRC
312
303
313
304
** ~org-mode~
@@ -366,7 +357,14 @@
366
357
=org-time-stamp= can be inserted with ~C-c .~ (period)]
367
358
368
359
#+BEGIN_SRC emacs-lisp
369
Removed:
(global-set-key (kbd "C-c a") 'org-agenda-list)
360
Added:
(global-set-key (kbd "C-c a") 'org-agenda-list)
361
Added:
362
Added:
(defun my/find-diary-file ()
363
Added:
"Load `org-agenda-diary-file'."
364
Added:
(interactive)
365
Added:
(find-file org-agenda-diary-file))
366
Added:
367
Added:
(global-set-key (kbd "C-c d") 'my/find-diary-file)
370
368
#+END_SRC
371
369
372
370
*** Timestamps
@@ -453,13 +451,13 @@
453
451
LaTeX \rightarrow PDF.
454
452
455
453
#+BEGIN_SRC emacs-lisp
456
Removed:
(defun blendoit-org-quick-export ()
454
Added:
(defun my/org-quick-export ()
457
455
"Org export to PDF and open.
458
456
This basically reimplements `C-c C-e l o'."
459
457
(interactive)
460
458
(org-open-file (org-latex-export-to-pdf)))
461
459
462
Removed:
(global-set-key (kbd "C-c e") 'blendoit-org-quick-export)
460
Added:
(global-set-key (kbd "C-c e") 'my/org-quick-export)
463
461
#+END_SRC
464
462
465
463
** ~undo-tree~
@@ -481,7 +479,7 @@
481
479
(use-package gnuplot)
482
480
#+END_SRC
483
481
484
Removed:
** Ledger
482
Added:
** ~ledger~
485
483
486
484
#+BEGIN_SRC emacs-lisp
487
485
(use-package ledger-mode
@@ -523,6 +521,13 @@
523
521
#+BEGIN_SRC emacs-lisp
524
522
(use-package flycheck
525
523
:init (global-flycheck-mode))
524
Added:
#+END_SRC
525
Added:
526
Added:
** TODO ~flyspell~
527
Added:
528
Added:
#+NAME: flycheck
529
Added:
#+BEGIN_SRC emacs-lisp
530
Added:
526
531
#+END_SRC
527
532
528
533
** ~csv-mode~
blendoit/blendoit-init.pdf
Binary files differ
init-custom.el
@@ -56,6 +56,7 @@
56
56
(ledger . t)
57
57
(gnuplot . t)
58
58
(latex . t)))
59
Added:
'(org-latex-active-timestamp-format "\\textcolor{RoyalBlue!80}{\\textit{%s}}")
59
60
'(org-latex-classes
60
61
'(("article" "\\documentclass[11pt]{article}"
61
62
("\\section{%s}" . "\\section*{%s}")
@@ -80,6 +81,7 @@
80
81
("\\section{%s}" . "\\section*{%s}")
81
82
("\\subsection*{%s}" . "\\subsection*{%s}")
82
83
("\\subsubsection*{%s}" . "\\subsubsection*{%s}"))))
84
Added:
'(org-latex-inactive-timestamp-format "\\textcolor{ForestGreen!80}{\\textit{%s}}")
83
85
'(org-latex-packages-alist
84
86
'(("AUTO" "polyglossia" t
85
87
("xelatex" "lualatex"))