mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
emacs: rearrange config
This commit is contained in:
parent
fe71bd1a49
commit
03fe06eabd
@ -13,7 +13,7 @@
|
||||
'(font-lock-comment-face :slant italic))
|
||||
|
||||
;; Might speedup all-the-icons
|
||||
(setq inhibit-compacting-font-caches t)
|
||||
;;(setq inhibit-compacting-font-caches t)
|
||||
|
||||
;; Emoji
|
||||
(after! emojify
|
||||
@ -41,6 +41,9 @@
|
||||
doom-dashboard-widget-shortmenu
|
||||
doom-dashboard-widget-loaded))
|
||||
|
||||
;; Modeline
|
||||
(setq doom-modeline-unicode-fallback t)
|
||||
|
||||
;; Line number
|
||||
(setq display-line-numbers-type 'relative)
|
||||
|
||||
@ -109,6 +112,7 @@
|
||||
;;(emms-all)
|
||||
;;(emms-default-players)
|
||||
;;(emms-playing-time 1)
|
||||
;;(emms-mode-line 1)
|
||||
;;(setq emms-source-file-default-directory "~/Music/"
|
||||
;; emms-info-asynchronously 1
|
||||
;; emms-playlist-buffer-name "*Music*"
|
||||
@ -138,9 +142,14 @@
|
||||
;; :desc "Emms next track"
|
||||
;; "e n" #'emms-next)
|
||||
|
||||
;; Modeline
|
||||
;;(emms-mode-line 1)
|
||||
(setq doom-modeline-unicode-fallback t)
|
||||
;; Asynchronous bytecode compilation
|
||||
(use-package! async
|
||||
:ensure t
|
||||
:defer t
|
||||
:init
|
||||
(dired-async-mode 1)
|
||||
(async-bytecomp-package-mode 1)
|
||||
:custom (async-bytecomp-allowed-packages '(all)))
|
||||
|
||||
;; Here are some additional functions/macros that could help you configure Doom:
|
||||
;;
|
||||
|
@ -67,7 +67,7 @@ You can find the original one at `exwm-config-ido-buffer-window-other-frame'."
|
||||
(interactive)
|
||||
(pcase exwm-class-name
|
||||
("Komikku" (exwm-floating-toggle-floating)
|
||||
(exwm-layout-toggle-mode-line))))
|
||||
(exwm-layout-hide-mode-line))))
|
||||
|
||||
(defun follie/update-displays ()
|
||||
(lambda ()
|
||||
@ -78,7 +78,7 @@ You can find the original one at `exwm-config-ido-buffer-window-other-frame'."
|
||||
(use-package! exwm
|
||||
:config
|
||||
;; Number of workspaces
|
||||
(setq exwm-workspace-number 2)
|
||||
(setq exwm-workspace-number 6)
|
||||
|
||||
;; Extra stuff at startup
|
||||
(add-hook 'exwm-init-hook #'follie/exwm-init-hook)
|
||||
@ -107,7 +107,7 @@ You can find the original one at `exwm-config-ido-buffer-window-other-frame'."
|
||||
|
||||
;; System tray on minibuffer
|
||||
(require 'exwm-systemtray)
|
||||
(setq exwm-systemtray-height 12)
|
||||
(setq exwm-systemtray-height 20)
|
||||
(exwm-systemtray-enable)
|
||||
|
||||
;; Automatically send cursor to the selected display
|
||||
|
@ -51,7 +51,7 @@
|
||||
(popup ; tame sudden yet inevitable temporary windows
|
||||
+all
|
||||
+defaults)
|
||||
tabs ; a tab bar for Emacs
|
||||
;;tabs ; a tab bar for Emacs
|
||||
treemacs ; a project drawer, like neotree but cooler
|
||||
unicode ; extended unicode support for various languages
|
||||
vc-gutter ; vcs diff in the fringe
|
||||
@ -80,7 +80,7 @@
|
||||
+icons)
|
||||
electric ; smarter, keyword-based electric-indent
|
||||
(ibuffer +icons) ; interactive buffer management
|
||||
(undo +tree) ; persistent, smarter undo for your inevitable mistakes
|
||||
undo ; persistent, smarter undo for your inevitable mistakes
|
||||
vc ; version-control and Emacs, sitting in a tree
|
||||
|
||||
:term
|
||||
@ -185,7 +185,7 @@
|
||||
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;scala ; java, but good
|
||||
;;scheme ; a fully conniving family of lisps
|
||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||
(sh +fish) ; she sells {ba,z,fi}sh shells on the C xor
|
||||
;;sml
|
||||
;;solidity ; do you need a blockchain? No.
|
||||
;;swift ; who asked for emoji variables?
|
||||
|
@ -56,8 +56,8 @@
|
||||
|
||||
;; Syntax
|
||||
(package! vimrc-mode)
|
||||
(package! fish-mode)
|
||||
|
||||
;; Improvements
|
||||
(package! async)
|
||||
(package! magit-delta)
|
||||
;; (package! mixed-pitch)
|
||||
|
Loading…
Reference in New Issue
Block a user