peterpme/dotfiles

website github github
dotfilesfzfhammerspooniterm2kittyneovimtmuxvimyarnzpreztozsh
stars 75
issues 5
subscribers 4
forks 13
CREATED

2015-07-15

UPDATED

2 months ago


Peter's dotfiles

Dotfiles and automations that make my life easier (or harder lol)

  • Prezto A lightweight zsh configuration framework with sensible defaults. It's fast, too!

  • Homebrew The Missing Package Manager for MacOS (or Linux)

  • Mac App Store CLI A CLI for the Mac App Store. Installs all your favorite apps in just 1 line!

  • Hammerspoon Staggeringly powerful MacOS desktop automation with Lua

  • Neovim A modern, ground up rewrite of Vim

  • Kitty A fast, GPU based terminal alternative to iTerm

  • Tmux Create, split, save, move terminal tabs easily all within one window.

  • Fzf The fastest way to search for ANYTHING on your computer

  • Forgit Use git interactively. Powered by fzf

  • PowerLevel10k A zsh theme that emphasizes speed, flexibility and an out-of-the-box experience

Screenshots

Getting Started

Check out ./install.sh. You'll have to run ./install all or pick the section you'd like to run.

  • Install Homebrew & dependencies
  • Install Xcode and Xcode CLI tools
  • Setup symlinks and config

Post-automation updates

  • Install NVChad if you haven't yet. This replaces the local nvim config

Files that store personal info or api keys are gitignored. Make sure you either comment these references out, or set them up:

Vim and Neovim Setup

Neovim is a fork and drop-in replacement for vim. in most cases, you would not notice a difference between the two, other than Neovim allows plugins to run asynchronously so that they do not freeze the editor, which is the main reason I have switched over to it. Vim and Neovim both use Vimscript and most plugins will work in both (all of the plugins I use do work in both Vim and Neovim). For this reason, they share the same configuration files in this setup. Neovim uses the XDG base directory specification which means it won't look for a .vimrc in your home directory. Instead, its configuration looks like the following:

Vim Neovim
Main Configuration File ~/.vimrc ~/.config/nvim/init.vim
Configuration directory ~/.vim ~/.config/nvim

Thanks

I've been working on my dotfiles for over 8 years. A lot of it is thanks to the community and some of my favorite people / projects: