|
@@ -493,6 +493,7 @@
|
|
(setq org-latex-minted-options
|
|
(setq org-latex-minted-options
|
|
'("breaklines"))
|
|
'("breaklines"))
|
|
|
|
|
|
|
|
+ (add-hook 'org-mode-hook 'visual-line-mode)
|
|
(defun org-variable-toggle-latex-fragment ()
|
|
(defun org-variable-toggle-latex-fragment ()
|
|
"Toggle LaTeX fragment, taking into account the current zoom size of the buffer."
|
|
"Toggle LaTeX fragment, taking into account the current zoom size of the buffer."
|
|
(interactive)
|
|
(interactive)
|
|
@@ -634,25 +635,25 @@
|
|
"SPC d" "Diff buffer w/ file"))
|
|
"SPC d" "Diff buffer w/ file"))
|
|
|
|
|
|
;; OS specific
|
|
;; OS specific
|
|
-(use-package magit
|
|
|
|
- :commands magit-status
|
|
|
|
|
|
+(use-package magit-todos
|
|
:if (not (eq system-type 'windows-nt))
|
|
:if (not (eq system-type 'windows-nt))
|
|
:ensure t
|
|
:ensure t
|
|
- :defer t
|
|
|
|
- :diminish magit-auto-revert-mode
|
|
|
|
- :config
|
|
|
|
- (evil-magit-init)
|
|
|
|
- (magit-todos-mode))
|
|
|
|
|
|
+ :commands magit-todos-mode)
|
|
|
|
|
|
(use-package evil-magit
|
|
(use-package evil-magit
|
|
:if (not (eq system-type 'windows-nt))
|
|
:if (not (eq system-type 'windows-nt))
|
|
:ensure t
|
|
:ensure t
|
|
:commands evil-magit-init)
|
|
:commands evil-magit-init)
|
|
|
|
|
|
-(use-package magit-todos
|
|
|
|
|
|
+(use-package magit
|
|
|
|
+ :commands magit-status
|
|
:if (not (eq system-type 'windows-nt))
|
|
:if (not (eq system-type 'windows-nt))
|
|
:ensure t
|
|
:ensure t
|
|
- :commands magit-todos-mode)
|
|
|
|
|
|
+ :defer t
|
|
|
|
+ :diminish magit-auto-revert-mode
|
|
|
|
+ :config
|
|
|
|
+ (evil-magit-init)
|
|
|
|
+ (magit-todos-mode))
|
|
|
|
|
|
(use-package multi-term
|
|
(use-package multi-term
|
|
:if (not (eq system-type 'windows-nt))
|
|
:if (not (eq system-type 'windows-nt))
|
|
@@ -952,6 +953,7 @@
|
|
jedi
|
|
jedi
|
|
company-jedi
|
|
company-jedi
|
|
py-autopep8
|
|
py-autopep8
|
|
|
|
+ flymake-php
|
|
))
|
|
))
|
|
|
|
|
|
(defvar packages-installed-this-session nil)
|
|
(defvar packages-installed-this-session nil)
|
|
@@ -983,6 +985,7 @@
|
|
(use-package flymake
|
|
(use-package flymake
|
|
:config
|
|
:config
|
|
(use-package flymake-php
|
|
(use-package flymake-php
|
|
|
|
+ :ensure t
|
|
:init
|
|
:init
|
|
(add-hook 'php-mode-hook 'flymake-php-load)))
|
|
(add-hook 'php-mode-hook 'flymake-php-load)))
|
|
|
|
|