add fci mode
This commit is contained in:
parent
ba61f00f16
commit
77e91a5523
9
conf.el
9
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.
|
||||
|
|
11
conf.org
11
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.
|
||||
|
|
Loading…
Reference in New Issue