Skip to content

Repository files navigation

dotfiles

This is me managing my Dotfiles, Brew Binaries, Mac Apps, VSCode extensions

Quickstart

Install Homebrew1

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

(You might need a new terminal session for brew to be detected.)

git clone https://github.com/thiskevinwang/dotfiles.git
cd dotfiles
sh install.sh

Vim/Neovim

nvim

this starts a neovim session:PlugInstall

This installs all the specified plugins

VSCode

Keybindings are here...

https://thekevinwang.com/atoms/01K993VJKY10E06E7AY2XAHRRM

tmux setup

Install TPM and start tmux:

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux source-file ~/repos/dotfiles/tmux.conf

Inside tmux, press Ctrl-b, then Shift-i to install the configured plugins. This only needs to be done once per machine.

The install script links the tmux-powerline config and custom theme. Reload tmux after changes:

tmux source-file ~/.tmux.conf

Misc Machine Setup

a

Map Caps Lock () to Control ()

image

Signed commits

There are a few steps following the installation of gnupg:

  • Generate a key
  • Set the key id in a machine-specific config
  • Upload the public key to GitHub
user@~: $ gpg --full-generate-key
pub   ed25519 2025-12-01 [SC] [expires: 2027-12-01]
      KEY_ID
uid                      user (comment) <email>
sub   cv25519 2025-12-01 [E] [expires: 2027-12-01]

user@~: $ cat > ~/.gitconfig.local << 'EOF'
[user]
    signingkey = <KEY_ID>

[commit]
    gpgsign = true
EOF

user@~: $ git config --get commit.gpgsign
user@~: $ export GPG_TTY=$(tty) && echo "test" | gpg --clearsign
user@~: $ echo 'export GPG_TTY=$(tty)' >> ~/.zshrc && source ~/.zshrc
user@~: $ gpg --armor --export KEY_ID
# Upload this to https://github.com/settings/gpg/new

Footnotes

  1. https://brew.sh/

About

Sync all Dotfiles, Brew Binaries, Mac Apps, VSCode extensions with 1 command.

Topics

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages