Adding fish, sly, and company and no littering...
This commit is contained in:
parent
677fb44922
commit
8ae7508ba4
24
README.org
24
README.org
|
@ -21,6 +21,8 @@
|
||||||
- [[#calendar][Calendar]]
|
- [[#calendar][Calendar]]
|
||||||
- [[#magit][Magit]]
|
- [[#magit][Magit]]
|
||||||
- [[#eshell][Eshell]]
|
- [[#eshell][Eshell]]
|
||||||
|
- [[#sly][Sly]]
|
||||||
|
- [[#company][Company]]
|
||||||
- [[#pdf-tools][PDF-Tools]]
|
- [[#pdf-tools][PDF-Tools]]
|
||||||
- [[#epub][EPUB]]
|
- [[#epub][EPUB]]
|
||||||
- [[#window-management][Window Management]]
|
- [[#window-management][Window Management]]
|
||||||
|
@ -56,7 +58,7 @@ Let's also set the =gc-cons-threshold= variable to a high setting for the remain
|
||||||
** Keep Folders Clean
|
** Keep Folders Clean
|
||||||
|
|
||||||
Let's use =no-littering= in order to stop emacs from filling all our folders with junk.
|
Let's use =no-littering= in order to stop emacs from filling all our folders with junk.
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp
|
||||||
(use-package no-littering)
|
(use-package no-littering)
|
||||||
|
|
||||||
;; no-littering doesn't set this by default so we must place
|
;; no-littering doesn't set this by default so we must place
|
||||||
|
@ -534,6 +536,12 @@ I do a lot of docker management so having yaml is necessary
|
||||||
:mode ("\\.yml\\'" . yaml-mode))
|
:mode ("\\.yml\\'" . yaml-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** Fish
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package fish-mode
|
||||||
|
:mode ("\\.fish\\'" . fish-mode))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** File Management
|
** File Management
|
||||||
*** Dired
|
*** Dired
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -1331,6 +1339,20 @@ Let's add our own eshell prompt. and set the password cache to a significantly h
|
||||||
"C-d" 'kill-this-buffer))
|
"C-d" 'kill-this-buffer))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Sly
|
||||||
|
Using sly makes a lot better common-lisp interaction within emacs.
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package sly
|
||||||
|
:mode ("\\.lisp\\'" . sly-mode))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** Company
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package company
|
||||||
|
:defer 1
|
||||||
|
:config (global-company-mode +1))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** PDF-Tools
|
** PDF-Tools
|
||||||
Let's use pdf-tools for a lot better interaction with pdfs.
|
Let's use pdf-tools for a lot better interaction with pdfs.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
@ -109,3 +109,10 @@ ls /tmp
|
||||||
cat /tmp/bongo-mpv.socket
|
cat /tmp/bongo-mpv.socket
|
||||||
youtube-dl --list-formats
|
youtube-dl --list-formats
|
||||||
youtube-dl --list-formats https://www.youtube.com/watch?v=ry8T67AgbUM
|
youtube-dl --list-formats https://www.youtube.com/watch?v=ry8T67AgbUM
|
||||||
|
ls
|
||||||
|
cd
|
||||||
|
ls
|
||||||
|
rm Dynamic\ DNS\ Client\ \ 2.0.0.7\ Beta.exe
|
||||||
|
ls
|
||||||
|
cat xmrtobtcwall.txt
|
||||||
|
cp mimeapps.list mimeapps.list.bak
|
||||||
|
|
17
init.el
17
init.el
|
@ -7,6 +7,13 @@
|
||||||
gcs-done))
|
gcs-done))
|
||||||
(add-hook 'emacs-startup-hook #'chris/display-startup-time)
|
(add-hook 'emacs-startup-hook #'chris/display-startup-time)
|
||||||
|
|
||||||
|
(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)))
|
||||||
|
|
||||||
(setq inhibit-startup-message t)
|
(setq inhibit-startup-message t)
|
||||||
|
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
|
@ -311,6 +318,9 @@ vertically."
|
||||||
(use-package yaml-mode
|
(use-package yaml-mode
|
||||||
:mode ("\\.yml\\'" . yaml-mode))
|
:mode ("\\.yml\\'" . yaml-mode))
|
||||||
|
|
||||||
|
(use-package fish-mode
|
||||||
|
:mode ("\\.fish\\'" . fish-mode))
|
||||||
|
|
||||||
(use-package dired
|
(use-package dired
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:straight nil
|
:straight nil
|
||||||
|
@ -1021,6 +1031,13 @@ If on a:
|
||||||
(general-def '(normal insert) eshell-mode-map
|
(general-def '(normal insert) eshell-mode-map
|
||||||
"C-d" 'kill-this-buffer))
|
"C-d" 'kill-this-buffer))
|
||||||
|
|
||||||
|
(use-package sly
|
||||||
|
:mode ("\\.lisp\\'" . sly-mode))
|
||||||
|
|
||||||
|
(use-package company
|
||||||
|
:defer 1
|
||||||
|
:config (global-company-mode +1))
|
||||||
|
|
||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
:straight (:host github
|
:straight (:host github
|
||||||
:repo "flatwhatson/pdf-tools"
|
:repo "flatwhatson/pdf-tools"
|
||||||
|
|
Loading…
Reference in a new issue