You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4.1 KiB
4.1 KiB
- Look'n'feel
- Development
- Gemini
Look'n'feel
Vim Emulation
Evil
(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)))
Prettify
Remove menubar
(menu-bar-mode -1)
Remove toolbar
(tool-bar-mode -1)
Remove scrollbar
(scroll-bar-mode -1)
Show line numbers
(global-linum-mode t)
Show matching parens
(show-paren-mode 1)
Highlight line [DISABLED]
Rainbow delimiters
(use-package rainbow-delimiters
:ensure t
:config
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode))
Theme
(use-package green-phosphor-theme
:ensure t
:config
(load-theme 'green-phosphor t))
Font
(add-to-list 'default-frame-alist '(font . "IBM Plex Mono" ))
(set-face-attribute 'default t :font "IBM Plex Mono 10")
Org
Org Bullet
(use-package org-bullets
:ensure t
:config
(add-hook 'org-mode-hook (lambda () (org-bullets-mode))))
Display Image
(setq org-startup-with-inline-images t)
Split windows verticaly [DISABLED]
Loop text on small windows
(setq truncate-partial-width-windows nil)
Visual Line Mode
(visual-line-mode 1)
Helper
Show which key
(use-package which-key
:ensure t
:config
(which-key-mode))
Start in scratch pad
(setq inhibit-startup-message t)
Aliases
Yes/No to y/n
(defalias 'yes-or-no-p 'y-or-n-p)
Disable backups and auto-save
(setq make-backup-files nil)
(setq auto-save-default nil)
Emojify
(use-package emojify
:hook (after-init . global-emojify-mode))
Development
Org
(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))
Autocompletion
Company
(use-package company
:ensure t
:config (add-hook 'after-init-hook 'global-company-mode))
Syntax checking
Flycheck
(use-package flycheck
:ensure t
:config
(global-flycheck-mode))
Common lisp
Sly
(use-package sly
:ensure t
:config (setq inferior-lisp-program "/usr/bin/sbcl"))
Par Edit
(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))
WebAssembly
(add-to-list 'load-path "~/.emacs.d/packages/wat-mode/")
(require 'wat-mode)
Magit
(use-package magit :ensure t)
GLSL
(use-package glsl-mode :ensure t)
(use-package company-glsl :ensure t)
Gemini
Elpher
(use-package elpher :ensure t)