aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-11-09 12:27:16 -0800
committercolin <colin@cicadas.surf>2023-11-09 12:27:16 -0800
commit403f0b437e94fd8d4aa1bc30586b7cfd5117669f (patch)
tree0ef4307bb6b1f2f4e4fe4cc6ea22ecbbec4764bc
parentdeca49befbf5ceb642cc9760b18f3de7f81c904e (diff)
themes; amx; beacon; modeline
-rw-r--r--init-el.org92
1 files changed, 55 insertions, 37 deletions
diff --git a/init-el.org b/init-el.org
index 5c7656e..1402826 100644
--- a/init-el.org
+++ b/init-el.org
@@ -285,7 +285,6 @@ I'm using melpa and elpa package archives.
#+name: org-mode-leader-key-menu
#+begin_src elisp :results none :noweb no-export
-
(def-my-command my-org-command
'((?/ "[/] sparse tree" org-sparse-tree)
(?g "[g]oto" org-goto)
@@ -461,9 +460,10 @@ e.g. here's one for org capture
(global-unset-key (kbd "<Scroll_Lock>"))
(global-unset-key "\C-z")
(setq-default indent-tabs-mode nil)
-(global-hl-line-mode 1)
-
+;(global-hl-line-mode 1)
+(package-install 'beacon)
+(beacon-mode 1)
#+end_src
** Bells and Whistles
@@ -483,12 +483,15 @@ e.g. here's one for org capture
#+name: ui-completion-engine
#+begin_src elisp :results none
(package-install 'ivy)
-(package-install 'smex)
+;(package-install 'smex)
+(package-install 'amx)
(package-install 'swiper)
(ivy-mode 1)
(setq ivy-use-selectable-prompt t)
-(smex-initialize)
-(global-set-key (kbd "M-x") 'smex)
+(amx-mode)
+
+;(smex-initialize)
+;(global-set-key (kbd "M-x") 'smex)
#+end_src
@@ -556,7 +559,7 @@ e.g. here's one for org capture
#+begin_src elisp :results none
(def-my-command my-buffer-command
- '((?b "switch [b]uffers" persp-buffer-menu)
+ '((?b "switch [b]uffers" ivy-switch-buffer)
(?s "[s]ave buffer" save-buffer)
(?S "[S]ave all buffers" save-some-buffers)
(?k "[k]ill buffer" kill-buffer)))
@@ -576,6 +579,42 @@ e.g. here's one for org capture
(?a "[a]dd buffer" persp-add-buffer)))
#+end_src
+** Modeline
+
+#+name: modeline-config
+#+begin_src elisp :noweb no-export :results none
+
+(package-install 'diminish)
+(require 'diminish)
+(diminish 'company-mode)
+(diminish 'paredit-mode)
+(diminish 'projectile-mode)
+(diminish 'ivy-mode)
+(diminish 'org-src-mode)
+(diminish 'eldoc-mode)
+(diminish 'beacon-mode)
+(diminish 'visual-line-mode)
+(diminish 'org-auto-tangle-mode)
+(diminish 'abbrev-mode)
+
+(package-install 'feline)
+
+(use-package feline
+ :config (feline-mode)
+ :custom
+ (feline-mode-symbols
+ '(emacs-lisp-mode "eλ"
+ lisp-interaction-mode "eλ"
+ shell-mode "🖳"
+ lisp-mode "λ"
+ org-mode "🌳"
+ python-mode "🐍")))
+
+
+#+end_src
+
+
+
** Themes
*** Installed Themes
@@ -587,30 +626,7 @@ e.g. here's one for org capture
(setq my-installed-themes
'(yoshi-theme
- kaolin-themes
- panda-theme
- foggy-night-theme
- wildcharm-theme
- adwaita-dark-theme
- haki-theme
- timu-caribbean-theme
- tao-theme
- ayu-theme
- humanoid-themes
- shanty-themes
- farmhouse-themes
- undersea-theme
- tangotango-theme
- morgentau-theme
- cyberpunk-theme
- enlightened-theme
- one-themes
- seoul256-theme
- dracula-theme
- solarized-theme
- solo-jazz-theme
- poet-theme
- majapahit-themes))
+ doom-themes))
(dolist (package my-installed-themes)
@@ -714,11 +730,9 @@ LOAD-THEME"
#+begin_src elisp :noweb no-export :results none
(setq *coding-themes*
- (append '(halloweenie dracula yoshi seoul256)
+ (append '(yoshi)
(mapcan 'themes-in-package
- '(majapahit
- tao
- one))))
+ '(doom-themes))))
(setq *writing-themes*
(themes-in-package 'poet))
@@ -995,6 +1009,9 @@ wordnut is a wordnet interface
(setq elfeed-feeds
'(
+ ("https://feedly.com/i/subscription/feed/https://www.cold-takes.com/rss/" blog )
+ ("https://www.construction-physics.com/feed" science blog)
+ ("https://economicsfromthetopdown.com/feed" blog economics science)
("https://newsletter.aworkinglibrary.com/rss" culture technology)
("https://harpers.org/feed" culture politics news)
("https://solar.lowtechmagazine.com/posts/index.xml" technology)
@@ -1101,7 +1118,7 @@ wordnut is a wordnet interface
#+name: eww-config
#+begin_src elisp :noweb no-export :results none
-(setq browse-url-browser-function 'browse-url-firefox );'eww-browse-url)
+(setq browse-url-browser-function 'eww-browse-url)
;; (add-hook 'eww-mode-hook
;; (lambda ()
@@ -1192,6 +1209,7 @@ math symbols.
#+name: software-development-preamble
#+begin_src elisp :noweb no-export :results none
(show-paren-mode 1)
+(which-function-mode 1)
#+end_src
** Literate Programming
@@ -1669,7 +1687,7 @@ emacs loads at startup.
<<ui-window-leader-key-menu>>
<<ui-buffer-leader-key-menu>>
<<ui-perspectives-leader-key-menu>>
-
+<<modeline-config>>
<<ui-themes-installed>>
<<ui-themes-theme-switcher>>