Skip to content

dotfiles for the developer happiness: macOS, zsh, brew, VSCode, Python, Rust

License

Notifications You must be signed in to change notification settings

pivoshenko/dotfiles

Repository files navigation

pivoshenko's dotfiles

hyperjs

standwithukraine standwithukraine

Caution

Currently, my dotfiles are under heavy redesign so this README and configs are a bit outdated. One of the main goals is to move to Nix so stay tuned! ETA ~ a couple of weeks.

Contents

What's in here?

Main principles

  • Minimalism in everything
  • Consistency
  • Simplicity
  • One style - JetBrainsMono font and Catppuccin Macchiato color palette
  • Reduced visual noise, only important things should be shown
  • "Please, do not touch my code" - minimal auto-formatting or code flow interruptions
  • Security - do not share anything with anyone

Installation

I am using dotdrop to manage dotfiles. Steps:

  1. Clone this repo with: git clone https://github.com/pivoshenko/dotfiles dotfiles
  2. cd dotfiles/
  3. Run the following commands to install the necessary tooling:
  1. Run the following commands to install configs:
dotdrop -c "dotdrop.yaml" -p base install -f

Note

To change the theme in apps such as Chrome, Spotify, etc please follow the instructions in the official Catppuccin repository as those themes can't be exported/imported easily as config.

My personal go choice is Macchiato with Mauve flavor

Apps

I am using brew to install all free apps for my Mac. I also sync apps from the App Store with brew via mas, so the resulting Brewfile contains everything.

VSCode

vscode

Here's a list of extensions I use daily, but I try to keep my VSCode setup as simple as possible.

I also quite heavily use helix for in-terminal editing. You can find my helix and LSPs configuration here.

Hotkey Daemons

Because I am using a primarily external keyboard and in most of my apps I rely on either Vi/Kakoune motions I find it painful to use the mouse as it requires moving my right hand out of the keyboard and distracts my "zen" state :3 In most the dev apps you can enable such modes but in the default MacOS apps or windows manager such functionality is absent To resolve this issue I am using two daemons:

  • Karabiner - to enable the Vi motions system-wise and rebind some of the keys for example caps lock -> lctrl

Tiling Windows Manager

CLI

I am using iTerm2 and zellij as my main terminal. As the main shell I am using zsh with oh-my-zsh and starship. To manage shell plugins I am using zplug. I also have some tools/scripts/aliases to make my working experience better. But, I try to keep them minimal: only ones I truly use.

I mainly work with:

  • Python

I also have several other languages installed. But I don't use them daily:

  • Elixir
  • Rust
  • Ruby

fzf

I use fzf for several tasks:

  • tab to autocomplete probably all the tools using fzf-tab

fzf-tab

  • ctrl+r to fuzzy search command history

fzf-ctrl+r

  • ctrl+t to fuzzy search files and dirs in the current tree to include paths in commands with instant previews for text files (content) and directories (inner tree)

fzf-ctrl+t

  • ctrl+k to fuzzy search files by name and open/edit them

fzf-ctrl+k

  • ctrl+f to fuzzy search files by content and open/edit them

fzf-ctrl+f

  • z <name> tab to enable fuzzy finder for zoxide

fzf-z+tab

Local configuration

Some of the used tools require local configuration, such as git with username and email.

Here's the full list:

  • ~/.gitconfig.local to store any user-specific data
  • ~/.shell/.local to store local shell config, like usernames, passwords, tokens, gpg keys etc