Skip to content

AndreasNasman/.config

Repository files navigation

Dotfiles

Prerequisites

Make sure you have the Command Line Tools (CLT) installed, which are needed for cloning this repository with Git and for Homebrew.

xcode-select --install

Cloning

This repository contains submodules. You can initialize them when cloning by running:

git clone --recurse-submodules https://github.com/AndreasNasman/.config.git

Alternatively, you can clone the repository normally and initialize the submodules by running the setup/init script described below.

Setup

To initialize the setup, run the following script:

setup/init

This script installs Homebrew packages (dependencies) and initializes as many programs as possible from the repository. It uses Bash since macOS does not include fish out of the box.

Update

To update relevant files when the setup changes, run the following script:

setup/update

Manual setup

Some parts of the setup are not feasible to automate in a script. The following section serves as a reminder of what to set up manually.

GPG keys

GPG keys should be device-specific. If you configure them with an expiration date, GitHub can show commits as "Verified" but expired. This approach eliminates the need to copy private keys between devices (which you should not do anyway).

Follow these guides to set up GPG commit signing:

Surfingkeys

  1. Open Surfingkeys settings.
  2. Tick the Advanced mode checkbox.
  3. Paste
https://raw.githubusercontent.com/AndreasNasman/.config/refs/heads/mac/surfingkeys/theme.js

in the Load settings from: text field.

Neovim

I have based my Neovim configuration on kickstart.nvim, hash 8d1ef97.

Inspiration

About

My dot-files for various systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published