No-littering after straight is bootstrapped and comment keybinding
This commit is contained in:
parent
5fcb324069
commit
4dc9f80403
2 changed files with 26 additions and 22 deletions
30
README.org
30
README.org
|
@ -4,9 +4,9 @@
|
|||
* Table of Contents :toc:
|
||||
- [[#init][Init]]
|
||||
- [[#startup-performance][Startup Performance]]
|
||||
- [[#keep-folders-clean][Keep Folders Clean]]
|
||||
- [[#set-basic-ui-config][Set basic UI config]]
|
||||
- [[#lets-bootstrap-straightel][Let's bootstrap straight.el]]
|
||||
- [[#keep-folders-clean][Keep Folders Clean]]
|
||||
- [[#ligatures][Ligatures]]
|
||||
- [[#keybindings][Keybindings]]
|
||||
- [[#undo-tree][Undo-Tree]]
|
||||
|
@ -55,18 +55,6 @@ Let's also set the =gc-cons-threshold= variable to a high setting for the remain
|
|||
#+begin_src emacs-lisp :tangle no
|
||||
(setq gc-cons-threshold 50000000)
|
||||
#+end_src
|
||||
** Keep Folders Clean
|
||||
|
||||
Let's use =no-littering= in order to stop emacs from filling all our folders with junk.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package no-littering)
|
||||
|
||||
;; no-littering doesn't set this by default so we must place
|
||||
;; auto save files in the same path as it uses for sessions
|
||||
(setq auto-save-file-name-transforms
|
||||
`((".*" ,(no-littering-expand-var-file-name "auto-save/") t)))
|
||||
#+end_src
|
||||
|
||||
** Set basic UI config
|
||||
Let's start by making some basic ui changes like turning off the scrollbar, toolbar, menu, tooltips, and setting our font and some things.
|
||||
#+begin_src emacs-lisp
|
||||
|
@ -212,6 +200,18 @@ Let's also turn on =recentf-mode=.
|
|||
:defer 1)
|
||||
#+end_src
|
||||
|
||||
** Keep Folders Clean
|
||||
|
||||
Let's use =no-littering= in order to stop emacs from filling all our folders with junk.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package no-littering)
|
||||
|
||||
;; no-littering doesn't set this by default so we must place
|
||||
;; auto save files in the same path as it uses for sessions
|
||||
(setq auto-save-file-name-transforms
|
||||
`((".*" ,(no-littering-expand-var-file-name "auto-save/") t)))
|
||||
#+end_src
|
||||
|
||||
** Ligatures
|
||||
Here let's try to add ligatures to our font system since the VictorMono Nerd Font supports all ligatures being a "Nerd Font".
|
||||
#+begin_src emacs-lisp
|
||||
|
@ -302,7 +302,9 @@ This evil-collection package includes a lot of other evil based things.
|
|||
"wd" '(delete-window :which-key "other window")
|
||||
)
|
||||
(general-def 'minibuffer-local-map
|
||||
"C-v" 'evil-paste-after))
|
||||
"C-v" 'evil-paste-after)
|
||||
(general-def 'normal
|
||||
"gcc" 'comment-line))
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue