Skip to content

brycekellogg/dotfiles

Repository files navigation

Getting Started

Ubuntu

sudo apt-get install curl git
sudo sh -c "$(curl -fsLS https://chezmoi.io/get)" -- -b /usr/bin/
chezmoi init --apply brycekellogg

Fedora

sudo sh -c "$(curl -fsLS https://chezmoi.io/get)" -- -b /usr/bin/
chezmoi init --apply brycekellogg

macOS

The macOS setup requires Homebrew & Git to be installed prior to using Chezmoi. We install Git initially using the "XCode Command Line Tools"; from there Homebrew & Chezmoi can be installed and the dotfiles initialized.

xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install chezmoi
chezmoi init --apply brycekellogg

Chezmoi Operations

chezmoi edit --apply $FILE
chezmoi re-add
chezmoi diff
chezmoi chattr +template $FILE  # make an existing file a template

Tmux Configuration

  • Alt - Select pane to the left of current
  • Alt - Select pane to the right of current
  • Alt - Select pane above current
  • Alt - Select pane below current
  • AltPgUp - Select window (tab) to the left of current
  • AltPgDn - Select window (tab) to the right of current
  • Alt+ - Create a new window (tab) to the right of current
  • Altr - Rename current window (tab)
  • Altz - Toggle zoom for current pane
  • AltShift - Swap pane to the left
  • AltShift - Swap pane to the right
  • AltShift - Swap pane up
  • AltShift - Swap pane down
  • Alt| - Split pane vertically
  • Alt- - Split pane horizontally
  • AltSpace - Enter select mode
  • v (in select mode) - Start visual selection
  • Esc (in select mode) - Exit select mode
  • y (in select mode) - Copy
  • Altv - Paste

Passwordless Sudo

echo "$USER ALL = (ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers.d/nopasswd

Debugging Neovim Highlight groups

https://vi.stackexchange.com/questions/39781/how-to-get-the-highlight-group-of-the-word-under-the-cursor-in-neovim-with-trees

Profiling Fish

https://stackoverflow.com/questions/63290042/how-can-i-profile-the-fish-shell-init

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published