mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 19:10:24 +10:00
Updating Emacs config.
This commit is contained in:
@@ -478,8 +478,6 @@
|
|||||||
(evil-define-key 'normal git-timemachine-mode-map (kbd "C-k") 'git-timemachine-show-next-revision)
|
(evil-define-key 'normal git-timemachine-mode-map (kbd "C-k") 'git-timemachine-show-next-revision)
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package magit)
|
|
||||||
|
|
||||||
(use-package hl-todo
|
(use-package hl-todo
|
||||||
:hook ((org-mode . hl-todo-mode)
|
:hook ((org-mode . hl-todo-mode)
|
||||||
(prog-mode . hl-todo-mode))
|
(prog-mode . hl-todo-mode))
|
||||||
@@ -657,11 +655,6 @@
|
|||||||
(setq use-dialog-box nil) ;; No dialog box
|
(setq use-dialog-box nil) ;; No dialog box
|
||||||
(setq pop-up-windows nil) ;; No popup windows
|
(setq pop-up-windows nil) ;; No popup windows
|
||||||
|
|
||||||
;; The eshell prompt
|
|
||||||
(setopt eshell-prompt-function 'fancy-shell)
|
|
||||||
(setopt eshell-prompt-regexp "^[^#$\n]* [$#] ")
|
|
||||||
(setopt eshell-highlight-prompt nil)
|
|
||||||
|
|
||||||
;; Disabling company mode in eshell, because it's annoying.
|
;; Disabling company mode in eshell, because it's annoying.
|
||||||
(setq company-global-modes '(not eshell-mode))
|
(setq company-global-modes '(not eshell-mode))
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,6 @@
|
|||||||
- [[#general-keybindings][GENERAL KEYBINDINGS]]
|
- [[#general-keybindings][GENERAL KEYBINDINGS]]
|
||||||
- [[#git-programs][GIT PROGRAMS]]
|
- [[#git-programs][GIT PROGRAMS]]
|
||||||
- [[#git-time-machine][Git Time Machine]]
|
- [[#git-time-machine][Git Time Machine]]
|
||||||
- [[#magit][Magit]]
|
|
||||||
- [[#highlight-todo][HIGHLIGHT TODO]]
|
- [[#highlight-todo][HIGHLIGHT TODO]]
|
||||||
- [[#ivy-counsel][IVY (COUNSEL)]]
|
- [[#ivy-counsel][IVY (COUNSEL)]]
|
||||||
- [[#language-support][LANGUAGE SUPPORT]]
|
- [[#language-support][LANGUAGE SUPPORT]]
|
||||||
@@ -643,14 +642,6 @@ You can use the bindings CTRL plus =/- for zooming in/out. You can also use CTR
|
|||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Magit
|
|
||||||
[[https://magit.vc/manual/][Magit]] is a full-featured git client for Emacs.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package magit)
|
|
||||||
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* HIGHLIGHT TODO
|
* HIGHLIGHT TODO
|
||||||
Adding highlights to TODO and related words.
|
Adding highlights to TODO and related words.
|
||||||
|
|
||||||
@@ -953,10 +944,6 @@ In my configs, all of my shells (bash, fish, zsh and the ESHELL) require my shel
|
|||||||
Eshell is an Emacs 'shell' that is written in Elisp.
|
Eshell is an Emacs 'shell' that is written in Elisp.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; The eshell prompt
|
|
||||||
(setopt eshell-prompt-function 'fancy-shell)
|
|
||||||
(setopt eshell-prompt-regexp "^[^#$\n]* [$#] ")
|
|
||||||
(setopt eshell-highlight-prompt nil)
|
|
||||||
|
|
||||||
;; Disabling company mode in eshell, because it's annoying.
|
;; Disabling company mode in eshell, because it's annoying.
|
||||||
(setq company-global-modes '(not eshell-mode))
|
(setq company-global-modes '(not eshell-mode))
|
||||||
|
|||||||
@@ -8,7 +8,13 @@
|
|||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(custom-safe-themes
|
'(custom-safe-themes
|
||||||
'("02f57ef0a20b7f61adce51445b68b2a7e832648ce2e7efb19d217b6454c1b644" "6945dadc749ac5cbd47012cad836f92aea9ebec9f504d32fe89a956260773ca4" "944d52450c57b7cbba08f9b3d08095eb7a5541b0ecfb3a0a9ecd4a18f3c28948" "636b135e4b7c86ac41375da39ade929e2bd6439de8901f53f88fde7dd5ac3561" "1f669e8abe4dc2855268c9a607b5e350e2811b3c5afd09af5939ff0c01a89c5a" default))
|
'("02f57ef0a20b7f61adce51445b68b2a7e832648ce2e7efb19d217b6454c1b644"
|
||||||
|
"6945dadc749ac5cbd47012cad836f92aea9ebec9f504d32fe89a956260773ca4"
|
||||||
|
"944d52450c57b7cbba08f9b3d08095eb7a5541b0ecfb3a0a9ecd4a18f3c28948"
|
||||||
|
"636b135e4b7c86ac41375da39ade929e2bd6439de8901f53f88fde7dd5ac3561"
|
||||||
|
"1f669e8abe4dc2855268c9a607b5e350e2811b3c5afd09af5939ff0c01a89c5a"
|
||||||
|
default))
|
||||||
|
'(package-selected-packages '(magit taxy-magit-section))
|
||||||
'(send-mail-function 'smtpmail-send-it)
|
'(send-mail-function 'smtpmail-send-it)
|
||||||
'(smtpmail-smtp-server "smtp.1and1.com")
|
'(smtpmail-smtp-server "smtp.1and1.com")
|
||||||
'(smtpmail-smtp-service 587))
|
'(smtpmail-smtp-service 587))
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(defvar elpaca-installer-version 0.8)
|
(defvar elpaca-installer-version 0.10)
|
||||||
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
|
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
|
||||||
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
|
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
|
||||||
(defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory))
|
(defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory))
|
||||||
@@ -62,6 +62,11 @@
|
|||||||
|
|
||||||
;; Don't install anything. Defer execution of BODY
|
;; Don't install anything. Defer execution of BODY
|
||||||
;;(elpaca nil (message "deferred"))
|
;;(elpaca nil (message "deferred"))
|
||||||
|
(elpaca (magit :branch "main" :pre-build ("make" "info")))
|
||||||
|
(elpaca (forge :branch "main"))
|
||||||
|
(elpaca (ghub :branch "main"))
|
||||||
|
(elpaca (transient :branch "main"))
|
||||||
|
(elpaca (with-editor :branch "main"))
|
||||||
|
|
||||||
(provide 'elpaca-setup)
|
(provide 'elpaca-setup)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user