mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 19:40:24 +10:00
GNU Emacs config from video: Leaving Doom For GNU Emacs
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
- [[#change-modeline-to-dooms-modeline][Change Modeline To Doom's Modeline]]
|
- [[#change-modeline-to-dooms-modeline][Change Modeline To Doom's Modeline]]
|
||||||
- [[#ivy-counselswiper][IVY (COUNSEL/SWIPER)]]
|
- [[#ivy-counselswiper][IVY (COUNSEL/SWIPER)]]
|
||||||
- [[#ivy-posframe][IVY-POSFRAME]]
|
- [[#ivy-posframe][IVY-POSFRAME]]
|
||||||
|
- [[#language-support][LANGUAGE SUPPORT]]
|
||||||
- [[#magit][MAGIT]]
|
- [[#magit][MAGIT]]
|
||||||
- [[#org-mode][ORG MODE]]
|
- [[#org-mode][ORG MODE]]
|
||||||
- [[#defining-a-few-things][Defining A Few Things]]
|
- [[#defining-a-few-things][Defining A Few Things]]
|
||||||
@@ -44,7 +45,6 @@
|
|||||||
- [[#shells][SHELLS]]
|
- [[#shells][SHELLS]]
|
||||||
- [[#eshell][Eshell]]
|
- [[#eshell][Eshell]]
|
||||||
- [[#vterm][Vterm]]
|
- [[#vterm][Vterm]]
|
||||||
- [[#language-support][LANGUAGE SUPPORT]]
|
|
||||||
- [[#theme][THEME]]
|
- [[#theme][THEME]]
|
||||||
- [[#which-key][WHICH KEY]]
|
- [[#which-key][WHICH KEY]]
|
||||||
|
|
||||||
@@ -142,7 +142,6 @@ Emacs Dashboard is an extensible startup screen showing you recent files, bookma
|
|||||||
(bookmarks . 5)
|
(bookmarks . 5)
|
||||||
(projects . 5)
|
(projects . 5)
|
||||||
(registers . 5)))
|
(registers . 5)))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(dashboard-setup-startup-hook)
|
(dashboard-setup-startup-hook)
|
||||||
(dashboard-modify-heading-icons '((recents . "file-text")
|
(dashboard-modify-heading-icons '((recents . "file-text")
|
||||||
@@ -285,7 +284,6 @@ Ivy is a generic completion mechanism for Emacs.
|
|||||||
:ensure t
|
:ensure t
|
||||||
:after ivy
|
:after ivy
|
||||||
:config (counsel-mode))
|
:config (counsel-mode))
|
||||||
|
|
||||||
(use-package ivy
|
(use-package ivy
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer 0.1
|
:defer 0.1
|
||||||
@@ -296,7 +294,6 @@ Ivy is a generic completion mechanism for Emacs.
|
|||||||
(ivy-count-format "(%d/%d) ")
|
(ivy-count-format "(%d/%d) ")
|
||||||
(ivy-use-virtual-buffers t)
|
(ivy-use-virtual-buffers t)
|
||||||
:config (ivy-mode))
|
:config (ivy-mode))
|
||||||
|
|
||||||
(use-package ivy-rich
|
(use-package ivy-rich
|
||||||
:ensure t
|
:ensure t
|
||||||
:after ivy
|
:after ivy
|
||||||
@@ -307,7 +304,6 @@ Ivy is a generic completion mechanism for Emacs.
|
|||||||
:config
|
:config
|
||||||
(ivy-set-display-transformer 'ivy-switch-buffer
|
(ivy-set-display-transformer 'ivy-switch-buffer
|
||||||
'ivy-rich-switch-buffer-transformer))
|
'ivy-rich-switch-buffer-transformer))
|
||||||
|
|
||||||
(use-package swiper
|
(use-package swiper
|
||||||
:ensure t
|
:ensure t
|
||||||
:after ivy
|
:after ivy
|
||||||
@@ -355,6 +351,14 @@ Available functions (positions) for 'ivy-posframe-display-functions-alist'
|
|||||||
(ivy-posframe-mode 1)) ; 1 enables posframe-mode, 0 disables it.
|
(ivy-posframe-mode 1)) ; 1 enables posframe-mode, 0 disables it.
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* LANGUAGE SUPPORT
|
||||||
|
Adding packages for programming langauges, so we can have nice things like syntax highlighting.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package haskell-mode
|
||||||
|
:ensure t)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* MAGIT
|
* MAGIT
|
||||||
A git client for Emacs. Often cited as a killer feature for Emacs.
|
A git client for Emacs. Often cited as a killer feature for Emacs.
|
||||||
|
|
||||||
@@ -514,14 +518,6 @@ Vterm is a terminal emulator within Emacs. The 'shell-file-name' setting sets t
|
|||||||
vterm-max-scrollback 5000)
|
vterm-max-scrollback 5000)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* LANGUAGE SUPPORT
|
|
||||||
Adding packages for programming langauges, so we can have nice things like syntax highlighting.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package haskell-mode
|
|
||||||
:ensure t)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* THEME
|
* THEME
|
||||||
We need a nice colorscheme. The Doom Emacs guys have a nice collection of themes, so let's install them!
|
We need a nice colorscheme. The Doom Emacs guys have a nice collection of themes, so let's install them!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user