summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-28 17:22:39 -0600
committerCase Duckworth2021-01-28 17:22:39 -0600
commitec4112e32f4b1a8f9333dbcacdae5278aae90aea (patch)
tree1dc0f2cdf7f18b759909391c1ba825a2bee3ffb6
parentAdd capture template: "Meeting" (diff)
downloademacs-ec4112e32f4b1a8f9333dbcacdae5278aae90aea.tar.gz
emacs-ec4112e32f4b1a8f9333dbcacdae5278aae90aea.zip
Change fill-column
-rw-r--r--config.org24
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
1251By default, Emacs uses =C-x f= to set the =fill-column=. I think it's
1252pretty dumb that such an easy-to-reach binding (for Emacs) is set to a function
1253that I /literally/ never use. So I'm going to bind it to =find-file= ... since
1254that'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
1247I've mostly been using visual-line mode, and it's been pretty good. 1262I'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
1420The /biggest/ thing I miss about my Neovim days is its ease of 1435The /biggest/ thing I miss about my Neovim days is its ease of
1421search/replace. It didn't matter where the point was in the buffer; 1436search/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
1470I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense. 1485I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense.
1471I want it to comment out the region or line, or uncomment it if it's 1486I 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
1846See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org][this guide]] and try it out. 1861See [[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