Skip to content

Customized configuration files for kitty, neovim and zsh.

Notifications You must be signed in to change notification settings

smartinellimarco/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Getting started

Requirements

Install homebrew and skip post-installation steps.

Most of these dependencies are available by default on macOS (via Xcode command line tools).

This script only installs the missing ones.

Tool Dependencies
.dotfiles zsh, gh, antidote, yadm, neovim, mise, font-symbols-only-nerd-font, font-jetbrains-mono, kitty
yadm openssl
lazy.nvim git, luarocks
blink.cmp git, curl
nvim-telescope ripgrep, make, clang/gcc, fd
nvim-treesitter tar, curl, git, cc/gcc/clang/cl/zig
formatters prettierd, stylua, gofumpt
LSPs rust-analyzer, typescript-language-server, bash-language-server, gopls, terraform-ls, marksman, dockerfile-language-server, ruff, pyright, lua-language-server, vscode-langservers-extracted, yaml-language-server
TODO: add taplo
TODO: remove the vim modeline from files
TODO: ver que hacer con los delve colors
dependencies=(
  gh
  antidote
  yadm
  neovim
  mise
  openssl
  luarocks
  ripgrep
  fd
  prettierd
  stylua
  gofumpt
  rust-analyzer
  typescript-language-server
  bash-language-server
  gopls
  terraform-ls
  marksman
  dockerfile-language-server
  ruff
  pyright
  lua-language-server
  vscode-langservers-extracted
  yaml-language-server
)

cask_dependencies=(
  font-symbols-only-nerd-font
  font-jetbrains-mono
  kitty
)

for package in "${dependencies[@]}"; do
  brew install $package
done

for cask in "${cask_dependencies[@]}"; do
  brew install --cask $cask
done

Installation

Clone the repository using yadm

yadm clone https://github.com/smartinellimarco/.dotfiles

The first time you reopen the terminal, antidote will automatically setup all zsh plugins.

Neovim will do the same for lazy plugins, treesitter parsers and mason LSPs & Formatters.

Archive

Backup

Each file path must be specified in ~/.config/yadm/encrypt.

Then by running

GPG_TTY=$TTY yadm encrypt

and filling the password prompt, an encrypted file in ~/.local/share/yadm/archive will be created with the contents of every listed file.

Restore

Place the archive file in ~/.local/share/yadm/archive and run

yadm decrypt

The files will be restored to their original locations.

Bootstrap file

Initialization commands not intended for backup in this repository can be placed in ~/.zsh_bootstrap, which is automatically sourced.

About

Customized configuration files for kitty, neovim and zsh.

Topics

Resources

Stars

Watchers

Forks