General cleanup
This commit is contained in:
parent
ab8128cf93
commit
67fb2626f7
6 changed files with 12 additions and 10 deletions
|
@ -6,6 +6,7 @@
|
||||||
(setq flycheck-indication-mode 'right-fringe
|
(setq flycheck-indication-mode 'right-fringe
|
||||||
;; Removed checks on idle/change for snappiness
|
;; Removed checks on idle/change for snappiness
|
||||||
flycheck-check-syntax-automatically '(save mode-enabled)
|
flycheck-check-syntax-automatically '(save mode-enabled)
|
||||||
|
flycheck-highlighting-mode 'symbols
|
||||||
flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc make))
|
flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc make))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
(concat
|
(concat
|
||||||
(propertize
|
(propertize
|
||||||
(concat
|
(concat
|
||||||
(make-string (min 3 (truncate (/ height 5))) ?\n)
|
(make-string (min 5 (truncate (/ height 5))) ?\n)
|
||||||
lead "================= =============== =============== ======== ========\n"
|
lead "================= =============== =============== ======== ========\n"
|
||||||
lead "\\\\ . . . . . . .\\\\ //. . . . . . .\\\\ //. . . . . . .\\\\ \\\\. . .\\\\// . . //\n"
|
lead "\\\\ . . . . . . .\\\\ //. . . . . . .\\\\ //. . . . . . .\\\\ \\\\. . .\\\\// . . //\n"
|
||||||
lead "||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\\/ . . .||\n"
|
lead "||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\\/ . . .||\n"
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
defuns/defuns-workgroups.el.")
|
defuns/defuns-workgroups.el.")
|
||||||
|
|
||||||
(defvar doom-wg-names '()
|
(defvar doom-wg-names '()
|
||||||
"A list of fixed names for workgroups. If a name is set, workgroup names aren't
|
"A list of fixed names for workgroups. If a name is set, workgroup names
|
||||||
automatically renamed to the project name.")
|
aren't automatically renamed to the project name.")
|
||||||
|
|
||||||
(use-package workgroups2
|
(use-package workgroups2
|
||||||
:when window-system
|
:when window-system
|
||||||
|
|
|
@ -49,8 +49,7 @@
|
||||||
|
|
||||||
(use-package auto-yasnippet
|
(use-package auto-yasnippet
|
||||||
:commands (aya-create aya-expand aya-open-line aya-persist-snippet)
|
:commands (aya-create aya-expand aya-open-line aya-persist-snippet)
|
||||||
:config
|
:config (setq aya-persist-snippets-dir (concat doom-private-dir "auto-snippets/")))
|
||||||
(setq aya-persist-snippets-dir (concat doom-private-dir "auto-snippets/")))
|
|
||||||
|
|
||||||
(provide 'core-yasnippet)
|
(provide 'core-yasnippet)
|
||||||
;;; core-yasnippet.el ends here
|
;;; core-yasnippet.el ends here
|
||||||
|
|
|
@ -114,7 +114,8 @@ the buffer if it is being displayed in another window."
|
||||||
(unless (doom/real-buffer-p (current-buffer))
|
(unless (doom/real-buffer-p (current-buffer))
|
||||||
(doom/previous-real-buffer))
|
(doom/previous-real-buffer))
|
||||||
(when (get-buffer-window-list doom-buffer nil t)
|
(when (get-buffer-window-list doom-buffer nil t)
|
||||||
(doom|update-scratch-buffer new-dir))))))
|
(doom|update-scratch-buffer new-dir)))))
|
||||||
|
t)
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/kill-unreal-buffers ()
|
(defun doom/kill-unreal-buffers ()
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
;;;###autoload (autoload 'doom:helm-recentf "defuns-helm" nil t)
|
;;;###autoload (autoload 'doom:helm-recentf "defuns-helm" nil t)
|
||||||
(evil-define-command doom:helm-recentf (&optional bang)
|
(evil-define-command doom:helm-recentf (&optional bang)
|
||||||
"Ex-mode interface for `helm-recentf' and `helm-projectile-recentf'. If
|
"Ex-mode interface for `helm-recentf' and `helm-projectile-recentf'."
|
||||||
`bang', then `search' is interpreted as regexp."
|
|
||||||
:repeat nil
|
:repeat nil
|
||||||
(interactive "<!>")
|
(interactive "<!>")
|
||||||
(if bang (helm-recentf) (helm-projectile-recentf)))
|
(if bang (helm-recentf) (helm-projectile-recentf)))
|
||||||
|
@ -57,12 +56,14 @@ DIR specifies the default-directory from which ag is run."
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/helm-find-in-emacsd ()
|
(defun doom/helm-find-in-emacsd ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(in! doom-emacs-dir (helm-projectile-find-file)))
|
(let ((default-directory doom-emacs-dir))
|
||||||
|
(helm-projectile-find-file)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/helm-find-in-dotfiles ()
|
(defun doom/helm-find-in-dotfiles ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(in! (expand-file-name ".dotfiles" "~") (helm-projectile-find-file)))
|
(let ((default-directory (expand-file-name ".dotfiles" "~")))
|
||||||
|
(helm-projectile-find-file)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/helm-buffers-dwim (&optional all-p)
|
(defun doom/helm-buffers-dwim (&optional all-p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue