From 77e91a55232eef4c9c7efcd211b5cc3be2d42a02 Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Sat, 9 Jun 2018 18:31:40 -0400 Subject: [PATCH] add fci mode --- conf.el | 9 ++++++++- conf.org | 11 ++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/conf.el b/conf.el index 20e630b..53f3e28 100644 --- a/conf.el +++ b/conf.el @@ -167,6 +167,13 @@ (global-undo-tree-mode) (setq undo-tree-visualizer-diff t)) +(use-package fill-column-indicator + :ensure t + :init + :config + (setq fci-rule-use-dashes t) + (add-hook 'prog-mode-hook #'fci-mode)) + ;; lovingly stolen from aaron harris (defmacro nd/with-advice (adlist &rest body) "Execute BODY with temporary advice in ADLIST. @@ -467,7 +474,7 @@ event of an error or nonlocal exit." ;; (setq org-agenda-files '("~/Org/reference/agendatest.org")) (setq org-agenda-dim-blocked-tasks nil) (setq org-agenda-compact-blocks t) -(setq org-agenda-window-setup 'only-window) +(setq org-agenda-window-setup 'current-window) (defun nd/get-date-property (date-property) "Helper function to get the date property and convert to a number. diff --git a/conf.org b/conf.org index d8c38ab..98da9e2 100644 --- a/conf.org +++ b/conf.org @@ -263,6 +263,15 @@ vim is all about escape, not...ctrl+g??? (global-undo-tree-mode) (setq undo-tree-visualizer-diff t)) #+END_SRC +** fill-column-indicator +#+BEGIN_SRC emacs-lisp +(use-package fill-column-indicator + :ensure t + :init + :config + (setq fci-rule-use-dashes t) + (add-hook 'prog-mode-hook #'fci-mode)) +#+END_SRC * library A place for duct tape code that I developed (or lovingly stole from others) ** macros @@ -675,7 +684,7 @@ There are several types of tags I use: ;; (setq org-agenda-files '("~/Org/reference/agendatest.org")) (setq org-agenda-dim-blocked-tasks nil) (setq org-agenda-compact-blocks t) - (setq org-agenda-window-setup 'only-window) + (setq org-agenda-window-setup 'current-window) #+END_SRC *** task helper functions These are the building blocks for skip functions.