Giter Site home page Giter Site logo

pivoshenko / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 188.12 MB

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

License: MIT License

Python 14.22% Shell 74.18% JavaScript 11.60%
configs dotdrop dotfiles tooling ansbile playbooks dotbot macos python zsh catppuccin catppuccin-mocha helix-editor jetbrains ukraine configuration docker

dotfiles's Introduction

pivoshenko's dotfiles

hyperjs

standwithukraine standwithukraine

Contents

What's in here?

Main principles

  • Minimalism in everything
  • Consistency
  • Simplicity
  • One style - JetBrainsMono font and Catppuccin 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

Important

I am planning to use dotbot to set everything instead of ansible and dotdrop as it doesn't require any external dependencies and can be used as a submodule

I am using dotdrop to manage dotfiles and ansible to set things up. 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:
# install core: homebrew, zsh, oh-my-zsh and configs (optional)
ansible-playbook playbooks/shell.yaml

# install dependencies
ansible-playbook playbooks/dependencies.yaml
  1. Run the following commands to install configs:
dotdrop -c "dotdrop.yaml" -p base install -f

# macOS only!
dotdrop -c "dotdrop.yaml" -p macos install -f

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
  • skhd - to manage keybinding for tilling window manager

Tiling Windows Manager

As my main tiling windows manager I am using yabai which is light and very configurable. It works perfectly with skhd which allows me to focus and modify the layout without distractions.

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

fzf-ctrl+g

  • 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.