summaryrefslogtreecommitdiff
path: root/org/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/emacs.org')
-rwxr-xr-xorg/emacs.org130
1 files changed, 58 insertions, 72 deletions
diff --git a/org/emacs.org b/org/emacs.org
index 1d43c76..21a5b35 100755
--- a/org/emacs.org
+++ b/org/emacs.org
@@ -21,55 +21,56 @@ Set backup fails at ~~/Trash~
** List of required packages
Request the following packages:
#+begin_src emacs-lisp
- (defconst my-package-list '(org-snooze
- all-the-icons
- all-the-icons-dired
- all-the-icons-ivy-rich
- dap-mode
- toc-org
- emojify
- general
- doom-themes
- gruvbox-theme
- doom-modeline
- counsel
- which-key
- ivy
- ivy-rich
- helpful
- password-store
- org
- org-modern
- visual-fill-column
- rainbow-delimiters
- flycheck
- lsp-mode
- lsp-ui
- json-mode
- rjsx-mode
- typescript-mode
- python-mode
- pyvenv
- company
- company-box
- magit
- elfeed
- elfeed-goodies
- paredit
- corfu
- monkeytype
- sudo-edit
- exwm
- exwm-mff
- ;; exwm-firefox-core
- consult
- alsamixer
- simple-httpd
- eshell-syntax-highlighting
- org-superstar
- mastodon
- dashboard
- org-auto-tangle))
+ (defconst my-package-list '(org-snooze
+ all-the-icons
+ all-the-icons-dired
+ all-the-icons-ivy-rich
+ dap-mode
+ toc-org
+ emojify
+ general
+ doom-themes
+ gruvbox-theme
+ doom-modeline
+ counsel
+ which-key
+ ivy
+ ivy-rich
+ helpful
+ password-store
+ org
+ org-modern
+ visual-fill-column
+ rainbow-delimiters
+ flycheck
+ lsp-mode
+ lsp-ui
+ json-mode
+ rjsx-mode
+ typescript-mode
+ python-mode
+ pyvenv
+ company
+ company-box
+ magit
+ elfeed
+ elfeed-goodies
+ paredit
+ corfu
+ monkeytype
+ sudo-edit
+ exwm
+ exwm-mff
+ consult
+ alsamixer
+ simple-httpd
+ eshell-syntax-highlighting
+ org-superstar
+ mastodon
+ dashboard
+ org-auto-tangle
+ slime
+ slime-company))
#+end_src
** Installation & activation
Set ~package-archives~, and install packages
@@ -604,14 +605,7 @@ Hook with ~dired-mode~
("<tab>" . company-indent-or-complete-common))
:custom
(company-minimum-prefix-length 1)
- (company-idle-delay 0.0)
- :config
- (setq global-company-mode t))
-
- (define-key company-active-map (kbd "\C-n") 'company-select-next)
- (define-key company-active-map (kbd "\C-p") 'company-select-previous)
- (define-key company-active-map (kbd "\C-d") 'company-show-doc-buffer)
- (define-key company-active-map (kbd "M-.") 'company-show-location)
+ (company-idle-delay 0.0))
(use-package dap-mode
:custom
@@ -630,27 +624,19 @@ Hook with ~dired-mode~
#+end_src
** Emacs lisp
#+begin_src emacs-lisp
-(setq tab-always-indent 'complete)
-(add-to-list 'completion-styles 'initials t)
+ (setq tab-always-indent 'complete)
+ (add-to-list 'completion-styles 'initials t)
-(add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode)
-(add-hook 'scheme-mode-hook #'rainbow-delimiters-mode)
+ (add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode)
+ (add-hook 'emacs-lisp-mode-hook #'company-mode)
#+end_src
** Common Lisp
#+begin_src emacs-lisp
- (use-package slime
- :ensure t
- :config
- (setq inferior-lisp-program "sbcl"))
-
- (use-package slime-company
- :after (slime company)
- :config
- (setq slime-company-completion 'fuzzy
- slime-company-after-completion 'slime-company-just-one-space)
- (slime-setup '(slime-fancy slime-company)))
+ (setq inferior-lisp-program "sbcl")
+ (slime-setup '(slime-fancy slime-company))
(add-hook 'lisp-mode-hook #'rainbow-delimiters-mode)
+ (add-hook 'lisp-mode-hook #'company-mode)
#+end_src
** LSP
#+begin_src emacs-lisp