Compare commits
7 Commits
24ad9d622a
...
31ed2cba5c
Author | SHA1 | Date | |
---|---|---|---|
|
31ed2cba5c | ||
|
98d2f8839a | ||
|
6f445d35ca | ||
|
d6f3a00e26 | ||
|
79a9d5d6ac | ||
|
ba69981713 | ||
|
4287678dc7 |
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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))
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user