|
@@ -159,6 +159,21 @@ Handy clock to look up what timezone my co-workers are in!
|
|
|
("Europe/Warsaw" "Warsaw")
|
|
|
("Europe/Kiev" "Lviv")))
|
|
|
#+END_SRC
|
|
|
+
|
|
|
+Proselint! Let's try to write better :)
|
|
|
+#+BEGIN_SRC emacs-lisp
|
|
|
+(flycheck-define-checker proselint
|
|
|
+ "A linter for prose."
|
|
|
+ :command ("proselint" source-inplace)
|
|
|
+ :error-patterns
|
|
|
+ ((warning line-start (file-name) ":" line ":" column ": "
|
|
|
+ (id (one-or-more (not (any " "))))
|
|
|
+ (message) line-end))
|
|
|
+ :modes (text-mode markdown-mode org-mode))
|
|
|
+
|
|
|
+(add-to-list 'flycheck-checkers 'proselint)
|
|
|
+
|
|
|
+#+END_SRC
|
|
|
* Org-mode
|
|
|
** Basic configuration
|
|
|
A handful of mods here clean up org mode. Line numbers don’t mean much when you’re folding and unfolding all the time. I also really enjoy the typography of a serif font when I’m writing a lot of words.
|