diff options
-rw-r--r-- | config.org | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/config.org b/config.org index 0f78e2a..eb23224 100644 --- a/config.org +++ b/config.org | |||
@@ -1242,6 +1242,21 @@ contents of the files the represent on-disk. Thus, we have | |||
1242 | 1242 | ||
1243 | ** Lines | 1243 | ** Lines |
1244 | 1244 | ||
1245 | *** Fill-column | ||
1246 | |||
1247 | #+begin_src emacs-lisp :noweb-ref settings | ||
1248 | (setq-default fill-column 80) | ||
1249 | #+end_src | ||
1250 | |||
1251 | By default, Emacs uses =C-x f= to set the =fill-column=. I think it's | ||
1252 | pretty dumb that such an easy-to-reach binding (for Emacs) is set to a function | ||
1253 | that I /literally/ never use. So I'm going to bind it to =find-file= ... since | ||
1254 | that's the only time I accidentally call it, anyway. | ||
1255 | |||
1256 | #+begin_src emacs-lisp :noweb-ref bindings | ||
1257 | (define-key acdw/map (kbd "C-x f") #'find-file) | ||
1258 | #+end_src | ||
1259 | |||
1245 | *** Auto-fill vs. Visual-line | 1260 | *** Auto-fill vs. Visual-line |
1246 | 1261 | ||
1247 | I've mostly been using visual-line mode, and it's been pretty good. | 1262 | I've mostly been using visual-line mode, and it's been pretty good. |
@@ -1377,7 +1392,7 @@ It manages my whitespace for me, anyway. | |||
1377 | (setq-default set-mark-repeat-command-pop t) | 1392 | (setq-default set-mark-repeat-command-pop t) |
1378 | #+end_src | 1393 | #+end_src |
1379 | 1394 | ||
1380 | ** Undo :package: | 1395 | ** Undo :package: |
1381 | 1396 | ||
1382 | *** Undo Fu | 1397 | *** Undo Fu |
1383 | 1398 | ||
@@ -1415,7 +1430,7 @@ from =undo-fu=. | |||
1415 | (global-undo-fu-session-mode +1) | 1430 | (global-undo-fu-session-mode +1) |
1416 | #+end_src | 1431 | #+end_src |
1417 | 1432 | ||
1418 | ** Search/Replace :package: | 1433 | ** Search/Replace :package: |
1419 | 1434 | ||
1420 | The /biggest/ thing I miss about my Neovim days is its ease of | 1435 | The /biggest/ thing I miss about my Neovim days is its ease of |
1421 | search/replace. It didn't matter where the point was in the buffer; | 1436 | search/replace. It didn't matter where the point was in the buffer; |
@@ -1465,7 +1480,7 @@ versions, because of the regex thing. | |||
1465 | #'anzu-isearch-query-replace-regexp) | 1480 | #'anzu-isearch-query-replace-regexp) |
1466 | #+end_src | 1481 | #+end_src |
1467 | 1482 | ||
1468 | ** Commenting :crux: | 1483 | ** Commenting :crux: |
1469 | 1484 | ||
1470 | I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense. | 1485 | I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense. |
1471 | I want it to comment out the region or line, or uncomment it if it's | 1486 | I want it to comment out the region or line, or uncomment it if it's |
@@ -1845,7 +1860,7 @@ bad, to be honest. Let's change em. | |||
1845 | 1860 | ||
1846 | See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org][this guide]] and try it out. | 1861 | See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org][this guide]] and try it out. |
1847 | 1862 | ||
1848 | ** RSS Feeds :package: | 1863 | ** RSS Feeds :package: |
1849 | 1864 | ||
1850 | *** Elfeed and goodies | 1865 | *** Elfeed and goodies |
1851 | 1866 | ||
@@ -1952,6 +1967,7 @@ I want to use the newest version of Org that I can. | |||
1952 | org-src-fontify-natively t | 1967 | org-src-fontify-natively t |
1953 | org-ellipsis "…" | 1968 | org-ellipsis "…" |
1954 | org-pretty-entities t | 1969 | org-pretty-entities t |
1970 | org-tags-column (- 0 fill-column -1) | ||
1955 | ;; Source blocks | 1971 | ;; Source blocks |
1956 | org-src-tab-acts-natively t | 1972 | org-src-tab-acts-natively t |
1957 | org-src-window-setup 'current-window ; the least stupid option | 1973 | org-src-window-setup 'current-window ; the least stupid option |