My dotfiles.
Stores config files for tools and setup scripts for them.
Combination of nix(for most of packages) and mise(anything that can be managed via nix)
Only intended for linux/macos and x86_64/aarch64 and the env must have bash.
You must download nerd-fonts if your terminal emulator doesn't support it natively.
cd /path/to/you/want/to/store/nerdfont/repo
git clone https://github.com/ryanoasis/nerd-fonts .
# read the script carefully before executing it.
# On windows
.\install.ps1
# On unix-like
./install.sh
If you are running a terminal on windows and running linux on wsl2 instances, then install fonts to windows(install.ps1).
https://nixos.org/download/#nix-install-windows
# share `/nix` dir
sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
# or single user installation
sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --no-daemon
./homeenv-install.sh
touch "${XDG_CACHE_HOME:-$HOME/.cache}/dotfiles/.no_update_daily"
All *.sh and *.env files under ${XDG_CONFIG_HOME:-$HOME/.config}/env are loaded.
Things under build
Things under .config
- Nothing specific is defined. Just changed copy command to
xsel -bi.
- All SDKs / tools.
Say thanks to https://nvchad.com/
configs: eagerly loaded config files are located here.plugins:init.lualists alllazy.nvimplugins.- configs files for plugins are splitted to dirs and automatically created.
- you can define
init,opts,config,main,buildin the created lua scripts. - those functions are injected automatically.
- you can define
- configs files for plugins are splitted to dirs and automatically created.
setup: eagerly loaded setup files; automatically loaded.toggleterm_cmd: manually loaded by mapping.
set -g default-terminal 'xterm-256color':- The old tmux set $TERM
screen. as of Ubuntu 24.04, the current version of tmux place it to tmux-256color. - Some old software deems it as a lack of capability and launch in broken state.
xterm-256coloris causing no trouble at this moment.
- The old tmux set $TERM
- status line:
- colored mode indicator: bright green for VIEW mode, blue for COPY mode
- colored prefix indicator: bright violet when ON(prefix is pressed), dark purple when OFF(prefix is not active).
- vim like copy mode.
- nvim like pane move: prefix+{h,j,k,l} to move around
- nvim like pane split: prefix+s to split horizontally, prefix+v to virtically
- Terminal emulator.
- Keymaps / layouts.