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-responsive 'stack)
|
||||||
(highlight-indent-guides-auto-stack-character-face-perc 10))
|
(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)
|
(provide 'init-editing)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
;; mu4e is not actually built-in, but it is installed outside of normal Emacs package management
|
;; mu4e is not actually built-in, but it is installed outside of normal Emacs package management
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:if (locate-library "mu4e")
|
:if (locate-library "mu4e")
|
||||||
:commands mu4e
|
:commands (mu4e mu4e-update-mail-and-index)
|
||||||
:general
|
:general
|
||||||
(normal mu4e-headers-mode-map "t" #'mu4e-headers-mark-thread)
|
(normal mu4e-headers-mode-map "t" #'mu4e-headers-mark-thread)
|
||||||
(normal mu4e-view-mode-map "t" #'mu4e-view-mark-thread)
|
(normal mu4e-view-mode-map "t" #'mu4e-view-mark-thread)
|
||||||
|
@ -16,6 +16,15 @@
|
|||||||
"gg" #'magit-file-dispatch
|
"gg" #'magit-file-dispatch
|
||||||
"gd" #'magit-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
|
;; git-link makes it easy to copy the GitHub URL of the current file/line
|
||||||
(use-package git-link
|
(use-package git-link
|
||||||
:commands (git-link git-link-commit)
|
:commands (git-link git-link-commit)
|
||||||
|
@ -4,10 +4,16 @@
|
|||||||
(use-package projectile
|
(use-package projectile
|
||||||
:config
|
:config
|
||||||
(projectile-mode 1)
|
(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
|
;; Ripgrep integration
|
||||||
(use-package projectile-ripgrep
|
(use-package projectile-ripgrep
|
||||||
:after projectile)
|
:after projectile
|
||||||
|
:config
|
||||||
|
(evil-collection-ripgrep-setup))
|
||||||
|
|
||||||
(provide 'init-projects)
|
(provide 'init-projects)
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
(lsp-deferred)))
|
(lsp-deferred)))
|
||||||
:custom
|
:custom
|
||||||
(lsp-pyright-use-library-code-for-types t)
|
(lsp-pyright-use-library-code-for-types t)
|
||||||
|
(lsp-pyright-multi-root nil)
|
||||||
:general
|
:general
|
||||||
(python-mode-map "C-c C-d" #'lsp-describe-thing-at-point))
|
(python-mode-map "C-c C-d" #'lsp-describe-thing-at-point))
|
||||||
|
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
gc-cons-percentage 0.1
|
gc-cons-percentage 0.1
|
||||||
file-name-handler-alist file-name-handler-alist-backup)))
|
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
|
;; Bootstrap the straight.el package manager
|
||||||
(defvar bootstrap-version)
|
(defvar bootstrap-version)
|
||||||
(let ((bootstrap-file
|
(let ((bootstrap-file
|
||||||
|
@ -101,6 +101,9 @@ alias kns="kubens"
|
|||||||
alias kctx="kubectx"
|
alias kctx="kubectx"
|
||||||
alias tf="terraform"
|
alias tf="terraform"
|
||||||
|
|
||||||
|
# Up the ulimit
|
||||||
|
ulimit -S -n 4096
|
||||||
|
|
||||||
# VTerm integration
|
# VTerm integration
|
||||||
# Some of the most useful features in emacs-libvterm require shell-side
|
# Some of the most useful features in emacs-libvterm require shell-side
|
||||||
# configurations. The main goal of these additional functions is to enable the
|
# configurations. The main goal of these additional functions is to enable the
|
||||||
|
Loading…
Reference in New Issue
Block a user