summaryrefslogtreecommitdiff
path: root/zimrc
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-10-27 11:01:52 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-10-27 11:01:52 +0800
commit9f3c2630e1a0135e83e855867c341c4a428de304 (patch)
treebe60f1632c06ec6a210f548f71a6b95c9df7922c /zimrc
parent5a79c24580d935ad9c3febf7911da2ecc82e03ee (diff)
bump: zshmain
omz->zim
Diffstat (limited to 'zimrc')
-rw-r--r--zimrc29
1 files changed, 29 insertions, 0 deletions
diff --git a/zimrc b/zimrc
new file mode 100644
index 0000000..c1efd8a
--- /dev/null
+++ b/zimrc
@@ -0,0 +1,29 @@
+# zimfw module configuration
+# https://github.com/zimfw/zimfw
+
+# Prompt
+zmodule romkatv/powerlevel10k --use degit
+
+# Completions
+zmodule zsh-users/zsh-completions --fpath src
+
+# Core modules
+zmodule environment
+zmodule input
+zmodule termtitle
+# zmodule utility
+
+# OMZ compat: sudo (Esc-Esc), dirhistory (Alt-arrows), web-search, copybuffer (Ctrl-O)
+zmodule ohmyzsh/ohmyzsh --root plugins/sudo
+zmodule ohmyzsh/ohmyzsh --root plugins/dirhistory
+zmodule ohmyzsh/ohmyzsh --root plugins/web-search
+# zmodule ohmyzsh/ohmyzsh --root plugins/copybuffer
+
+# Must be sourced before zsh-syntax-highlighting
+zmodule zsh-users/zsh-autosuggestions
+zmodule zsh-users/zsh-history-substring-search
+
+# Must be last
+zmodule zsh-users/zsh-syntax-highlighting
+
+zmodule completion