@ -0,0 +1,3 @@ |
|||||||
|
[submodule "package"] |
||||||
|
path = package |
||||||
|
url = https://github.com/devonsparks/wat-mode |
@ -0,0 +1,100 @@ |
|||||||
|
(use-package evil |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(evil-mode 1) |
||||||
|
(defalias #'forward-evil-word #'forward-evil-symbol) |
||||||
|
(setq-default evil-symbol-word-search t) |
||||||
|
(use-package key-chord |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(key-chord-mode 1) |
||||||
|
(key-chord-define evil-insert-state-map "jj" 'evil-normal-state)) |
||||||
|
(use-package evil-commentary |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(evil-commentary-mode)) |
||||||
|
(use-package evil-collection |
||||||
|
:ensure t |
||||||
|
:config (evil-collection-init))) |
||||||
|
|
||||||
|
(menu-bar-mode -1) |
||||||
|
|
||||||
|
(tool-bar-mode -1) |
||||||
|
|
||||||
|
(scroll-bar-mode -1) |
||||||
|
|
||||||
|
(global-linum-mode t) |
||||||
|
|
||||||
|
(show-paren-mode 1) |
||||||
|
|
||||||
|
(use-package rainbow-delimiters |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)) |
||||||
|
|
||||||
|
(use-package green-phosphor-theme |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(load-theme 'green-phosphor t)) |
||||||
|
|
||||||
|
(add-to-list 'default-frame-alist '(font . "IBM Plex Mono 10" )) |
||||||
|
(set-face-attribute 'default t :font "IBM Plex Mono 10") |
||||||
|
|
||||||
|
(use-package org-bullets |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(add-hook 'org-mode-hook (lambda () (org-bullets-mode)))) |
||||||
|
|
||||||
|
(setq org-startup-with-inline-images t) |
||||||
|
|
||||||
|
(setq truncate-partial-width-windows nil) |
||||||
|
|
||||||
|
(use-package which-key |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(which-key-mode)) |
||||||
|
|
||||||
|
(setq inhibit-startup-message t) |
||||||
|
|
||||||
|
(defalias 'yes-or-no-p 'y-or-n-p) |
||||||
|
|
||||||
|
(setq make-backup-files nil) |
||||||
|
(setq auto-save-default nil) |
||||||
|
|
||||||
|
(use-package emojify |
||||||
|
:hook (after-init . global-emojify-mode)) |
||||||
|
|
||||||
|
(setq org-src-fontify-natively t) |
||||||
|
(setq org-src-tab-acts-natively t) |
||||||
|
(use-package org-tree-slide |
||||||
|
:ensure t |
||||||
|
:custom (org-image-actual-width nil)) |
||||||
|
|
||||||
|
(use-package company |
||||||
|
:ensure t |
||||||
|
:config (add-hook 'after-init-hook 'global-company-mode)) |
||||||
|
|
||||||
|
(use-package flycheck |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(global-flycheck-mode)) |
||||||
|
|
||||||
|
(use-package sly |
||||||
|
:ensure t |
||||||
|
:config (setq inferior-lisp-program "/usr/bin/sbcl")) |
||||||
|
|
||||||
|
(use-package paredit |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'ielm-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'lisp-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'scheme-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'sly-mode-hook #'enable-paredit-mode)) |
||||||
|
|
||||||
|
(add-to-list 'load-path "~/.emacs.d/packages/wat-mode/") |
||||||
|
(require 'wat-mode) |
||||||
|
|
||||||
|
(use-package magit :ensure t) |
@ -0,0 +1,182 @@ |
|||||||
|
* Look'n'feel |
||||||
|
** Vim Emulation |
||||||
|
*** Evil |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package evil |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(evil-mode 1) |
||||||
|
(defalias #'forward-evil-word #'forward-evil-symbol) |
||||||
|
(setq-default evil-symbol-word-search t) |
||||||
|
(use-package key-chord |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(key-chord-mode 1) |
||||||
|
(key-chord-define evil-insert-state-map "jj" 'evil-normal-state)) |
||||||
|
(use-package evil-commentary |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(evil-commentary-mode)) |
||||||
|
(use-package evil-collection |
||||||
|
:ensure t |
||||||
|
:config (evil-collection-init))) |
||||||
|
#+end_src |
||||||
|
** Prettify |
||||||
|
*** Remove menubar |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(menu-bar-mode -1) |
||||||
|
#+end_src |
||||||
|
*** Remove toolbar |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(tool-bar-mode -1) |
||||||
|
#+end_src |
||||||
|
*** Remove scrollbar |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(scroll-bar-mode -1) |
||||||
|
#+end_src |
||||||
|
*** Show line numbers |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(global-linum-mode t) |
||||||
|
#+end_src |
||||||
|
*** Show matching parens |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(show-paren-mode 1) |
||||||
|
#+end_src |
||||||
|
*** Highlight line [DISABLED] |
||||||
|
# #+begin_src emacs-lisp |
||||||
|
# (global-hl-line-mode t) |
||||||
|
# #+end_src |
||||||
|
*** Rainbow delimiters |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package rainbow-delimiters |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)) |
||||||
|
#+end_src |
||||||
|
*** Theme |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package green-phosphor-theme |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(load-theme 'green-phosphor t)) |
||||||
|
#+end_src |
||||||
|
*** Font |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(add-to-list 'default-frame-alist '(font . "IBM Plex Mono" )) |
||||||
|
(set-face-attribute 'default t :font "IBM Plex Mono 10") |
||||||
|
#+end_src |
||||||
|
*** Org |
||||||
|
**** Org Bullet |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package org-bullets |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(add-hook 'org-mode-hook (lambda () (org-bullets-mode)))) |
||||||
|
#+end_src |
||||||
|
**** Display Image |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(setq org-startup-with-inline-images t) |
||||||
|
#+end_src |
||||||
|
*** Split windows verticaly [DISABLED] |
||||||
|
# #+begin_src emacs-lisp |
||||||
|
# (setq split-height-threshold nil) |
||||||
|
# (setq split-width-threshold 1) |
||||||
|
# #+end_src |
||||||
|
*** Loop text on small windows |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(setq truncate-partial-width-windows nil) |
||||||
|
#+end_src |
||||||
|
*** Visual Line Mode |
||||||
|
#+begin_src elisp |
||||||
|
(visual-line-mode 1) |
||||||
|
#+end_src |
||||||
|
** Helper |
||||||
|
*** Show which key |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package which-key |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(which-key-mode)) |
||||||
|
#+end_src |
||||||
|
*** Start in scratch pad |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(setq inhibit-startup-message t) |
||||||
|
#+end_src |
||||||
|
** Aliases |
||||||
|
*** Yes/No to y/n |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(defalias 'yes-or-no-p 'y-or-n-p) |
||||||
|
#+end_src |
||||||
|
** Disable backups and auto-save |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(setq make-backup-files nil) |
||||||
|
(setq auto-save-default nil) |
||||||
|
#+end_src |
||||||
|
** Emojify |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package emojify |
||||||
|
:hook (after-init . global-emojify-mode)) |
||||||
|
#+end_src |
||||||
|
* Development |
||||||
|
** Org |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(setq org-src-fontify-natively t) |
||||||
|
(setq org-src-tab-acts-natively t) |
||||||
|
(use-package org-tree-slide |
||||||
|
:ensure t |
||||||
|
:custom (org-image-actual-width nil)) |
||||||
|
#+end_src |
||||||
|
** Autocompletion |
||||||
|
*** Company |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package company |
||||||
|
:ensure t |
||||||
|
:config (add-hook 'after-init-hook 'global-company-mode)) |
||||||
|
#+end_src |
||||||
|
** Syntax checking |
||||||
|
*** Flycheck |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package flycheck |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(global-flycheck-mode)) |
||||||
|
#+end_src |
||||||
|
** Common lisp |
||||||
|
*** Sly |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package sly |
||||||
|
:ensure t |
||||||
|
:config (setq inferior-lisp-program "/usr/bin/sbcl")) |
||||||
|
#+end_src |
||||||
|
*** Par Edit |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package paredit |
||||||
|
:ensure t |
||||||
|
:config |
||||||
|
(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'ielm-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'lisp-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'scheme-mode-hook #'enable-paredit-mode) |
||||||
|
(add-hook 'sly-mode-hook #'enable-paredit-mode)) |
||||||
|
#+end_src |
||||||
|
** WebAssembly |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(add-to-list 'load-path "~/.emacs.d/packages/wat-mode/") |
||||||
|
(require 'wat-mode) |
||||||
|
#+end_src |
||||||
|
** Magit |
||||||
|
#+begin_src emacs-lisp |
||||||
|
(use-package magit :ensure t) |
||||||
|
#+end_src |
||||||
|
** GLSL |
||||||
|
#+begin_src elisp |
||||||
|
(use-package glsl-mode :ensure t) |
||||||
|
(use-package company-glsl :ensure t) |
||||||
|
#+end_src |
||||||
|
* Gemini |
||||||
|
** Elpher |
||||||
|
#+begin_src elisp |
||||||
|
(use-package elpher :ensure t) |
||||||
|
#+end_src |
After Width: | Height: | Size: 651 B |
After Width: | Height: | Size: 571 B |
After Width: | Height: | Size: 502 B |
After Width: | Height: | Size: 409 B |
After Width: | Height: | Size: 520 B |
After Width: | Height: | Size: 548 B |
After Width: | Height: | Size: 516 B |
After Width: | Height: | Size: 562 B |
After Width: | Height: | Size: 568 B |
After Width: | Height: | Size: 499 B |
After Width: | Height: | Size: 562 B |
After Width: | Height: | Size: 567 B |
After Width: | Height: | Size: 752 B |
After Width: | Height: | Size: 727 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 822 B |
After Width: | Height: | Size: 466 B |
After Width: | Height: | Size: 407 B |
After Width: | Height: | Size: 394 B |
After Width: | Height: | Size: 448 B |
After Width: | Height: | Size: 593 B |
After Width: | Height: | Size: 460 B |
After Width: | Height: | Size: 534 B |
After Width: | Height: | Size: 530 B |
After Width: | Height: | Size: 378 B |
After Width: | Height: | Size: 540 B |
After Width: | Height: | Size: 523 B |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 639 B |
After Width: | Height: | Size: 542 B |
After Width: | Height: | Size: 690 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 907 B |
After Width: | Height: | Size: 579 B |
After Width: | Height: | Size: 815 B |
After Width: | Height: | Size: 784 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 460 B |
After Width: | Height: | Size: 885 B |
After Width: | Height: | Size: 634 B |
After Width: | Height: | Size: 658 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 376 B |
After Width: | Height: | Size: 943 B |
After Width: | Height: | Size: 689 B |
After Width: | Height: | Size: 538 B |
After Width: | Height: | Size: 682 B |
After Width: | Height: | Size: 584 B |
After Width: | Height: | Size: 789 B |
After Width: | Height: | Size: 758 B |
After Width: | Height: | Size: 437 B |
After Width: | Height: | Size: 378 B |
After Width: | Height: | Size: 572 B |
After Width: | Height: | Size: 446 B |
After Width: | Height: | Size: 559 B |
After Width: | Height: | Size: 809 B |
After Width: | Height: | Size: 501 B |
After Width: | Height: | Size: 879 B |
After Width: | Height: | Size: 1006 B |
After Width: | Height: | Size: 975 B |
After Width: | Height: | Size: 655 B |
After Width: | Height: | Size: 941 B |
After Width: | Height: | Size: 800 B |
After Width: | Height: | Size: 447 B |
After Width: | Height: | Size: 924 B |
After Width: | Height: | Size: 555 B |
After Width: | Height: | Size: 329 B |
After Width: | Height: | Size: 771 B |
After Width: | Height: | Size: 773 B |
After Width: | Height: | Size: 568 B |
After Width: | Height: | Size: 678 B |
After Width: | Height: | Size: 747 B |
After Width: | Height: | Size: 731 B |
After Width: | Height: | Size: 756 B |
After Width: | Height: | Size: 534 B |
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 965 B |
After Width: | Height: | Size: 686 B |
After Width: | Height: | Size: 489 B |
After Width: | Height: | Size: 639 B |
After Width: | Height: | Size: 488 B |
After Width: | Height: | Size: 387 B |
After Width: | Height: | Size: 399 B |
After Width: | Height: | Size: 595 B |
After Width: | Height: | Size: 778 B |
After Width: | Height: | Size: 632 B |
After Width: | Height: | Size: 991 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 516 B |
After Width: | Height: | Size: 585 B |
After Width: | Height: | Size: 526 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 657 B |
After Width: | Height: | Size: 431 B |