points/.zimrc

62 lines
1.4 KiB
Plaintext

###
### Zim Modules
###
# apt install bat curl fd-find fzf lsd ripgrep
# dpkg-divert --divert /usr/bin/bat --rename /usr/bin/batcat
# dpkg-divert --divert /usr/share/man/man1/bat.1.gz --rename /usr/share/man/man1/batcat.1.gz
# dpkg-divert --divert /usr/bin/fd --rename /usr/bin/fdfind
# dpkg-divert --divert /usr/share/man/man1/fd.1.gz --rename /usr/share/man/man1/fdfind.1.gz
### Completion
# Additional completion definitions for Zsh.
zmodule zsh-users/zsh-completions
# Enables and configures smart and extensive tab completion.
# completion must be sourced after zsh-users/zsh-completions
zmodule completion
### Productivity
# Sets up asdf, with auto install and optimized usage of the direnv plugin
# https://github.com/zimfw/asdf
#
# Run `zimfw clean-dumpfile; compinit` to force loading the completion
zmodule asdf
# fzf
# → Using a modified version (in .zshrc)
###
### Other Modules
###
# Enhanced CD
# Requires: fzf, fzy, ...
zmodule b4b4r07/enhancd
###
### Prompt & Command Line Helpers
###
# ZVM — Zsh Vi Mode
zmodule jeffreytse/zsh-vi-mode
# Loads the "inner function" & binds alt-H key
zmodule run-help
# Fast Syntax Highlighting
#
# `fast-theme --list` to list available themes -> "free"
zmodule zdharma-continuum/fast-syntax-highlighting
# A heavily reduced, ASCII-only version of the Spaceship and Starship prompts.
zmodule asciiship
# Exposes git status information (used by asciiship)
zmodule git-info