Compare commits

...

7 Commits

Author SHA1 Message Date
Jeremy Dormitzer
31ed2cba5c Run the server after init 2021-02-22 17:07:41 -05:00
Jeremy Dormitzer
98d2f8839a Don't use multiroot lsp-pyright 2021-02-22 17:07:30 -05:00
Jeremy Dormitzer
6f445d35ca Configure projectile-ripgrep 2021-02-22 17:07:20 -05:00
Jeremy Dormitzer
d6f3a00e26 Configure with-editor 2021-02-22 17:07:11 -05:00
Jeremy Dormitzer
79a9d5d6ac Autoload mu4e-update-mail-and-index 2021-02-22 17:06:58 -05:00
Jeremy Dormitzer
ba69981713 Add olivetti 2021-02-22 17:06:50 -05:00
Jeremy Dormitzer
4287678dc7 Up ulimit for zsh 2021-02-22 17:06:28 -05:00
7 changed files with 30 additions and 3 deletions

View File

@ -72,4 +72,9 @@
(highlight-indent-guides-responsive 'stack)
(highlight-indent-guides-auto-stack-character-face-perc 10))
;; Handy mode for prose writing and reading
(use-package olivetti
:general
("C-c o" #'olivetti-mode))
(provide 'init-editing)

View File

@ -3,7 +3,7 @@
;; mu4e is not actually built-in, but it is installed outside of normal Emacs package management
:straight (:type built-in)
:if (locate-library "mu4e")
:commands mu4e
:commands (mu4e mu4e-update-mail-and-index)
:general
(normal mu4e-headers-mode-map "t" #'mu4e-headers-mark-thread)
(normal mu4e-view-mode-map "t" #'mu4e-view-mark-thread)

View File

@ -16,6 +16,15 @@
"gg" #'magit-file-dispatch
"gd" #'magit-dispatch))
;; Not strictly git-related, but with-editor is the part of Magit that
;; lets Emacs be the $EDITOR for shell commands
(use-package with-editor
:hook ((eshell-mode . with-editor-export-editor)
(shell-mode . with-editor-export-editor)
(vterm-mode . with-editor-export-editor))
:commands (with-editor-async-shell-command
with-editor-shell-command))
;; git-link makes it easy to copy the GitHub URL of the current file/line
(use-package git-link
:commands (git-link git-link-commit)

View File

@ -4,10 +4,16 @@
(use-package projectile
:config
(projectile-mode 1)
(leader-def-key "p" '(projectile-command-map :which-key "projectile")))
(leader-def-key "p" '(projectile-command-map :which-key "projectile"))
(defun consult-projectile-ripgrep ()
(interactive)
(let ((dir (or (projectile-project-root) default-directory)))
(consult-ripgrep dir))))
;; Ripgrep integration
(use-package projectile-ripgrep
:after projectile)
:after projectile
:config
(evil-collection-ripgrep-setup))
(provide 'init-projects)

View File

@ -49,6 +49,7 @@
(lsp-deferred)))
:custom
(lsp-pyright-use-library-code-for-types t)
(lsp-pyright-multi-root nil)
:general
(python-mode-map "C-c C-d" #'lsp-describe-thing-at-point))

View File

@ -11,6 +11,9 @@
gc-cons-percentage 0.1
file-name-handler-alist file-name-handler-alist-backup)))
;; Start the server after init
(add-hook 'emacs-startup-hook #'server-start)
;; Bootstrap the straight.el package manager
(defvar bootstrap-version)
(let ((bootstrap-file

View File

@ -101,6 +101,9 @@ alias kns="kubens"
alias kctx="kubectx"
alias tf="terraform"
# Up the ulimit
ulimit -S -n 4096
# VTerm integration
# Some of the most useful features in emacs-libvterm require shell-side
# configurations. The main goal of these additional functions is to enable the