Skip to content

zack466/dotfiles

Repository files navigation

Zack's Dotfiles

Nix - *.nix

  • I am officially using Nix flakes and home-manager on my macbook so I can define all of my development dependencies in a single place (and make it easier to re-install my dotfiles on new systems)
  • To install software system-wide, I just need to modify home.nix and run make update (which calls into home-manager)
  • Most of my shell configuration is now specified in Nix, while everything else gets symlinked into my home directory by Nix

tmux - .tmux.conf

  • super basic tmux config
  • prefix key: `
  • uses tpm (install manually), plus tmux-sensible and one-dark (install with <prefix-I>)
  • when a session ends, will switch to another active session (useful since I tend to have more sessions than terminal windows open)

Neovim - .config/nvim/*

  • I finally bit the bullet and made my own Neovim config
  • copied quite a bit from Brady Bhalla and Eric Lee
  • basically a slimmed down version of my previous Lunarvim config merged with my vim config

Vim - .vimrc

  • relatively minimal config with a few plugins and mappings
    • vim-sensible, vim-surround, nerdtree (mapped to <C-n>), vim-commentary (mapped to gcc), and vim-repeat (.)
    • leader key is <Space>, save with <leader>w and quit with <leader>q
    • persistent undo
  • uses vim-plug (install manually), then install plugins with :PlugInstall
  • init.lua simply loads ~/.vimrc
  • works with vim and macvim

LunarVim - .config/lvim/

  • A really great neovim IDE layer (my daily driver)
  • main config file is config.lua, with additional modules in lua/user

zsh - .zshrc

  • many random aliases and stuff, plus configuration for various programs
  • uses the starship prompt
  • cd aliased to zoxide
  • n for nodejs version management (much faster startup than nvm)
  • conda for python
  • m to select a makefile target using fzf

Yabai - .config/yabai/yabairc, .config/skhd/skhdrc

  • I have it installed with macports
  • Bindings are controlled using skhd (see skhdrc)
    • I used Amethyst before switching to yabai, so my bindings tend to use shift-alt and shift-ctrl-alt as prefixes
  • Note that if you're installing this for the first time, you have to go through a slightly convoluted procedure to disable SIP so that everything works properly
  • Credit where credit's due: I stole most of this config from ericlovesmath

Wezterm - .config/wezterm/wezterm.lua

  • installed using macports
  • I quite like the lua-based configuration
  • I switched from Alacritty because... why not? Just wanted to change things up
  • I don't currently use Emacs, but I've tried Doom Emacs in the past, and it's pretty great

Fonts

  • Comic Mono NF - this is the best coding font in existence, no question about it
  • Blex Mono NF - if you don't want to get bullied for using Comic Mono /j

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published