Update Package configuration
This commit is contained in:
parent
8cb7670b36
commit
70ca582251
3 changed files with 17 additions and 11 deletions
|
@ -3,12 +3,6 @@
|
|||
(add-hook 'write-file-hooks 'delete-trailing-whitespace)
|
||||
(add-hook 'diary-list-entries-hook 'diary-include-other-diary-files)
|
||||
(add-hook 'diary-mark-entries-hook 'diary-mark-included-diary-files)
|
||||
(defun me/org-mode ()
|
||||
"My custom configuration for 'org-mode'."
|
||||
;(olivetti-mode)
|
||||
(require 'olivetti)
|
||||
(olivetti-set-width 82))
|
||||
(add-hook 'nov-mode-hook 'me/org-mode)
|
||||
(add-hook 'org-mode-hook 'turn-on-auto-fill)
|
||||
(add-hook 'rst-mode-hook 'turn-on-orgstruct)
|
||||
(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
|
||||
|
|
|
@ -9,3 +9,5 @@
|
|||
(global-set-key (kbd "M-i") 'imenu)
|
||||
(global-set-key (kbd "C-c n") 'newsticker-start)
|
||||
(global-set-key (kbd "M-o") 'ace-window)
|
||||
(global-set-key (kbd "M-[") 'tab-bar-history-back)
|
||||
(global-set-key (kbd "M-]") 'tab-bar-history-forward)
|
||||
|
|
|
@ -34,9 +34,12 @@ There are two things you can do about this warning:
|
|||
:init
|
||||
(ivy-mode 1))
|
||||
|
||||
(use-package olivetti
|
||||
:custom (olivetti-body-width 82))
|
||||
|
||||
(use-package nov
|
||||
:config
|
||||
(setq nov-text-width 80))
|
||||
:config (setq nov-text-width nil nov-variable-pitch nil)
|
||||
:hook (nov-mode . olivetti-mode))
|
||||
|
||||
(use-package projectile
|
||||
:init
|
||||
|
@ -47,7 +50,15 @@ There are two things you can do about this warning:
|
|||
(define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
|
||||
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
|
||||
|
||||
(use-package elpy)
|
||||
(use-package elpy
|
||||
:config (setq elpy-modules
|
||||
'(elpy-module-autodoc
|
||||
elpy-module-company
|
||||
elpy-module-eldoc
|
||||
elpy-module-pyvenv
|
||||
elpy-module-yasnippet)
|
||||
elpy-test-pytest-runner-command '("pytest")))
|
||||
|
||||
(use-package pyvenv
|
||||
:init (pyvenv-mode 1))
|
||||
|
||||
|
@ -92,8 +103,6 @@ There are two things you can do about this warning:
|
|||
(use-package slime
|
||||
:config (setq inferior-lisp-program (executable-find "sbcl")))
|
||||
|
||||
|
||||
|
||||
(use-package org
|
||||
:config
|
||||
(setq org-agenda-dim-blocked-tasks nil
|
||||
|
@ -126,6 +135,7 @@ There are two things you can do about this warning:
|
|||
("screen" . shell-script)
|
||||
("shell" . sh)
|
||||
("C" . c)
|
||||
("sqlite" . sql)
|
||||
("plantuml" . plantuml)))
|
||||
org-use-property-inheritance nil
|
||||
org-export-with-sub-superscripts nil
|
||||
|
|
Loading…
Add table
Reference in a new issue