summaryrefslogtreecommitdiff
path: root/home/dots
diff options
context:
space:
mode:
authorMarc Coquand <marc@coquand.email>2024-11-28 22:00:54 +0200
committerMarc Coquand <marc@coquand.email>2024-11-28 22:00:54 +0200
commit83fbd0a23a104f4c9b8426f8ba424be53798d763 (patch)
treed4f253ef89008168cbd3e5176cb53bc0d7365954 /home/dots
parent8a20306bd9fa6ee6d90aef016dcef9e7b1662c71 (diff)
downloadguix-83fbd0a23a104f4c9b8426f8ba424be53798d763.tar.gz
guix-83fbd0a23a104f4c9b8426f8ba424be53798d763.tar.bz2
guix-83fbd0a23a104f4c9b8426f8ba424be53798d763.zip
.
Diffstat (limited to 'home/dots')
-rw-r--r--home/dots/.emacs33
-rw-r--r--home/dots/.emacs.d/BOGO-dark-theme.el6
2 files changed, 26 insertions, 13 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs
index e46303c..a835f4a 100644
--- a/home/dots/.emacs
+++ b/home/dots/.emacs
@@ -49,7 +49,7 @@
(unless (package-installed-p package)
(package-install package)))
-(load-theme 'BOGO-dark t)
+(load-theme 'BOGO t)
(use-package exwm
@@ -352,6 +352,7 @@
:defer t
:custom
(completion-cycle-threshold 5)
+ (completion-styles '('flex 'partial-completion 'initials 'emacs22))
(completion-ignore-case t))
(use-package pass
@@ -398,8 +399,10 @@
(use-package imenu
:defer t
- :config
- (setq imenu-auto-rescan t))
+ :bind
+ (("M-i" . imenu))
+ :custom
+ (imenu-auto-rescan t))
(defun sudo-shell-command (command)
(interactive "MShell command (root): ")
@@ -464,6 +467,7 @@
("d" . kill-word))
:custom
(repeat-on-final-keystroke t)
+ (repeat-echo-function 'repeat-echo-mode-line)
(set-mark-command-repeat-pop t)
(repeat-exit-key (kbd "i"))
:config
@@ -796,14 +800,22 @@
"Introspect"
#'ctrl-lock-off))
-(use-package ido
+(use-package icomplete
:bind
- (:repeat-map
- ido-next-buffer-repeat-map
- ("s" . ido-next-match)
- ("r" . ido-prev-match))
+ (:map minibuffer-mode-map
+ ("C-<return>" . icomplete-fido-exit)
+ :repeat-map fido-next-buffer-repeat-map
+ ("s" . icomplete-forward-completions)
+ ("r" . icomplete-backward-completions))
:init
- (ido-mode t))
+ (fido-mode t)
+ :custom
+ (icomplete-prospects-height 1)
+ (icomplete-compute-delay 0)
+ (icomplete-delay-completions-threshold 0.15)
+ (icomplete-separator ", ")
+ (icomplete-show-matches-on-no-input 't)
+ (icomplete-max-delay-chars 4))
(use-package calendar
:defer t
@@ -1188,7 +1200,7 @@
-1 "}"))
(use-package abbrev
- :after (skeleton go-mode)
+ :after (skeleton)
:diminish abbrev-mode
:init
(setq-default abbrev-mode t)
@@ -1208,6 +1220,7 @@
(define-abbrev go-mode-abbrev-table "2fo"
"" 'golang-for-loop))
+
(use-package flyspell
:diminish flyspell-mode
:defer t)
diff --git a/home/dots/.emacs.d/BOGO-dark-theme.el b/home/dots/.emacs.d/BOGO-dark-theme.el
index 91e8e85..e57350f 100644
--- a/home/dots/.emacs.d/BOGO-dark-theme.el
+++ b/home/dots/.emacs.d/BOGO-dark-theme.el
@@ -16,8 +16,8 @@
'(erc-timestamp-face ((t (:foreground "blue" :weight bold))))
'(eshell-prompt ((t (:weight bold))))
'(eww-valid-certificate ((t (:foreground "#fafaf8" :weight bold))))
- '(fixed-pitch ((t (:family "Iosevka Term"))))
- '(fixed-pitch-serif ((t (:family "Iosevka Term"))))
+ '(fixed-pitch ((t (:family "iA Writer Mono V"))))
+ '(fixed-pitch-serif ((t (:family "iA Writer Mono V"))))
'(isearch ((t (:foreground "white"))))
'(font-lock-builtin-face ((t (:weight regular))))
'(font-lock-comment-face ((t (:foreground "gray40"))))
@@ -35,7 +35,7 @@
'(font-lock-variable-name-face ((t (:foreground "#fffff8"))))
'(fringe ((t nil)))
'(header-line ((t (:inherit default :foreground "grey80" :box (:line-width (12 . 12) :color "#1d1d1d") :underline (:color "gray20" :style line :position 0) :family "iA Writer Duo V" :height 1.0))))
- '(highlight ((t (:background "azure2"))))
+ '(highlight ((t (:background "gray20"))))
'(info-header-xref ((t (:inherit info-xref :underline (:color "RoyalBlue3" :style line :position t)))))
'(info-menu-header ((t (:family "Iosevka aile" :weight bold))))
'(info-title-1 ((t (:family "Iosevka aile" :weight bold))))