Note: the configuration is meant to be used for myself, you'd better only copy/paste the only part you want.
-
Basic
sudo pacman -S ripgrep # for plantum-mode, zoxide.el, sudo pacman -S plantuml zoxide
-
language servers: check lsp-bridge and
eglot-server-programs
variable Also note that some programs have optional dependencies, which can be viewed bypacman -Qi
. Also, installemacs-lsp-booster-git
aur package foreglot-lsp-booster
emacs packagae.
To usejdtls
,java-17
environment is needed, which can be achieved by the following code:sudo pacman -S jdk17-openjdk # jdtls needs at least jdk17 sudo archlinux-java set java-17-openjdk # set jdk17 as default jdk
-
jinx, for reference:
sudo pacman -S enchant hunspell hunspell-en_us pkgconf
-
dictd
# note: change the dictionary order in /etc/dict/dictd.conf sudo pacman -S dictd gfw paru -S dict-gcide dict-moby-thesaurus dict-wn dict-foldoc dict-devils sudo systemctl enable --now dictd
-
mail
# msmtp: send mail; offlineimap: imap receive email; mu: index email and provide mu4e package for email sudo pacman -S msmtp offlineimap paru -S mu # (optional) python-pysocks is required for offlineiamp to support proxy, but now I use `dae` to achieve transparent proxy
-
citre
sudo pacman -S ctags global # ctags and gtags(needed for finding reference)
-
apheleia(formatter): check
apheleia-mode-alist
andapheleia-formatters
variables
-
The dictionary file
en_US-large.dic
indicts
directory is stolen from/usr/share/hunspell/en_US-large.dic
withsed 's/\/.*//' en_US-large.dic > en_US-large_mod.dic
-
Private configurations are in module
my-private-configs
, which is not inclued in git repo. -
If you find changing configuration doesn't apply, it's probably you have randomly generates a
elc
file under the same directory of the source file.
Emacs Align Regexp Explained In
Detail
TLDR: The matched place in \(\)
is where to insert or truncate
characters to fulfill the alignment. Example rx expression:
(rx (sep (group (* space)) (or "&" "\\\\")))
=> indent indicator &
and \\
My custom function: mk/better-align-regexp
In meow editing beacon mode, use
C-x (
and C-x )
to record and apply macro.