[run submodules] when: host.has('git') cmd: git submodule init [home git-prefs] when: host.has('git') files: .gitconfig [home bash-prefs] when: host.has('bash') files: .bash_profile .bashrc [home zsh-prefs] when: host.has('zsh') files: .zshrc .zshenv .zprofile .zlogin [home vim] when: host.has('vim') or host.has('nvim') files: Vundle.vim > .vim/bundle/Vundle.vim vim/ftplugin > .vim/ftplugin vim/pack > .vim/pack vimrc > .vimrc [home kitty] when: host.has('kitty') files: kitty/kitty.conf > .config/kitty/kitty.conf # We only need the kitty.desktop config on linux, that's like a linux desktop # manager thing [home kitty-desktop] when: host.has('kitty') and host.is_linux files: desktop/kitty.desktop > .local/share/applications/kitty.desktop [link-files nix-config] when: host.has('nix') target_root: ~/.config files: nix/nix.conf [link-files rofi] when: host.has('rofi') target_root: ~/.config files: rofi # This needs to be run, but it's really annoying when you run the installer # from within Vim because it tries to do this recursive Vim thing that does not # work, so I'd rather just run it by hand. # # [run vim-plugins] # when: host.has('vim') # cmd: vim +PluginInstall +qall [link-files neovim:windows] when: host.is_windows and host.has('nvim') target_root: ~/AppData/Local files: nvim/lua nvim/init.vim Vundle.vim > nvim/bundle/Vundle.vim [link-files neovim:linux] when: host.is_linux and host.has('nvim') target_root: ~/.config files: nvim/colors nvim/lua nvim/init.vim [git vundle] when: host.has('vim') or host.has('nvim') repo: https://github.com/VundleVim/Vundle.vim.git target: ~/.vim/bundle/Vundle.vim [git packer-posix] when: not host.is_windows repo: https://github.com/wbthomason/packer.nvim target: ~/.local/share/nvim/site/pack/packer/start/packer.nvim [git packer-windows] when: host.is_windows repo: https://github.com/wbthomason/packer.nvim target: ~/AppData/Local/nvim-data/site/pack/packer/start/packer.nvim # [run nvim-plugins] # when: host.has('nvim') # cmd: nvim +PluginInstall +qall [home cargo] when: host.has('cargo') files: cargo-config.toml > .cargo/config.toml [home htop] when: host.has('htop') files: .config/htop/htoprc [home lazydocker] when: host.has('lazydocker') files: .config/lazydocker/config.yml [home screenrc] when: host.has('screen') files: .screenrc [home tmux] when: host.has('tmux') files: .tmux.conf [home posix-nvim] when: host.has('nvim') and not host.is_windows files: nvim/init.vim > .config/nvim/init.vim [home wsl] when: host.is_wsl files: scripts/winmode > bin/winmode [link-files vscode:windows] when: host.is_windows and host.has('code') target_root: ~/AppData/Roaming files: code-settings.json > Code/User/settings.json [home k9s-skin] when: host.has('k9s') files: k9s/skin.yml > .config/k9s/skin.yml [cargo-install] crates: just cargo-watch # this one isn't working on MacOS # cargo-edit cargo-get [link-files gitui:linux] when: host.is_linux and host.has('gitui') target_root: ~/.config files: gitui [link-files gitui:windows] when: host.is_windows and host.has('gitui') target_root: ~/AppData/Roaming files: gitui