files related to my current emacs configuration
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: configure outline mode in file, add orderless and magit

Signed-off-by: Amy <amy+git@amogus.cloud>

Amy c4c93d74 46d87125

+17 -8
+17 -8
.emacs
··· 1 - ;; -*- lexical-binding: t -*- 1 + ;; -*- lexical-binding: t; outline-regexp: "^;;; " -*- 2 2 3 3 ;;; gc 4 4 (setq gc-cons-threshold (* 1024 1024 100)) ··· 64 64 minor-mode-list) 65 65 active-modes)) 66 66 67 - ;;; emacs-customizations 67 + ;;; emacs 68 68 (setq 69 69 ring-bell-function nil 70 70 visible-bell t ··· 76 76 (set-face-attribute 'fixed-pitch nil :font "Iosevka 20") 77 77 78 78 79 - ;;; package-setup 79 + ;;; package 80 80 (require 'package) 81 81 (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) 82 82 (add-to-list 'package-archives '( "jcs-elpa" . "https://jcs-emacs.github.io/jcs-elpa/packages/") t) ··· 85 85 86 86 (package-initialize) 87 87 88 - ;;; Shell env 88 + ;;; shell 89 89 (amy/add-package exec-path-from-shell t) 90 90 (when (memq window-system '(mac ns x pgtk)) 91 91 (exec-path-from-shell-initialize)) ··· 94 94 (amy/add-package spacemacs-theme) 95 95 (load-theme 'spacemacs-light t) 96 96 97 - ;; code-editing 98 - (amy/add-package multiple-cursors t) 97 + ;; code 99 98 (amy/set-key "C-S-c C-S-c" 'mc/edit-lines) 100 99 (amy/set-key "C->" 'mc/mark-next-like-this) 101 100 (amy/set-key "C-<" 'mc/mark-previous-like-this) ··· 168 167 (advice-add 'pcomplete-completions-at-point :around #'cape-wrap-silent) 169 168 (advice-add 'pcomplete-completions-at-point :around #'cape-wrap-purify)) 170 169 171 - ;; Minibuffer 170 + ;; minibuffer 172 171 (amy/add-package vertico t) 173 172 (setq vertico-cycle t 174 173 vertico-resize nil) ··· 181 180 182 181 (amy/set-key "C-x b" #'consult-buffer) 183 182 (amy/set-key "C-C C-x b" #'consult-buffer-other-window) 183 + (amy/set-key "C-C C-x o" #'consult-outline) 184 184 185 + ;;; completions 186 + (amy/add-package orderless t) 187 + (setq completion-styles '(orderless basic) 188 + completion-category-overrides '((file (styles partial-completion))) 189 + completion-pcm-leading-wildcard t) 185 190 186 - ;; Dired config 191 + ;;; git ui 192 + (amy/add-package magit t) 193 + (amy/set-key "M-g g" #'magit) 194 + 195 + ;;; dired 187 196 (setq dired-listing-switches "-al --group-directories-first")