Skip to content

ojroques/dotfiles

Repository files navigation

dotfiles

This repository contains my config files for:

  • alacritty
  • git
  • helix
  • neovim
  • tmux
  • vim
  • xfce keyboard
  • zsh

Installation

  1. For Ubuntu 22.04+, you can use the Makefile to install apps:
sudo make install-base   # install base packages
sudo make install-cli    # install base + CLI packages
sudo make install-gui    # install base + GUI packages
sudo make install-lsp    # install base + LSP servers
sudo make install-latex  # install base + LaTeX
sudo make clean          # clean up packages
  1. Run stow to install config files:
stow git nvim tmux vim zsh  # CLI configs
stow alacritty xfce         # GUI configs

After Installation

  • Change the default shell: chsh -s /usr/bin/zsh
  • Create git configs ~/.config/git/personal and ~/.config/git/work with your names and emails
  • Run nvim, wait for paq to install itself then execute :PaqInstall to install plugins
  • Install fzf
  • Configure XFCE if used
  • Generate SSH keys if needed: ssh-keygen -t ed25519 -C "email@example.com"
  • Run keychain if needed: eval $(keychain --quiet --eval id_ed25519)

Docker

A Dockerfile is provided that sets up an Ubuntu 22.04 environment with all dotfiles installed.

To build the image:

docker build -t dotfiles:latest .

To run it:

docker run -it dotfiles