Skip to content

Latest commit

 

History

History
138 lines (88 loc) · 3.24 KB

setup.md

File metadata and controls

138 lines (88 loc) · 3.24 KB

Workspace Setup

This page documents how to set up my workspace.

Linux step-by-step instructions

This is an aspirational section on how to set up my Manjaro workspace from scratch.

Install some basic binaries

sudo pamac install fasd git htop neovim ranger

Install a GitHub SSH key

Install Chezmoi

Install & configure Kitty

Install & configure Fish

Configure Neovim

macOS step-by-step instructions

This is an aspirational section on setting up my macOS workspace from scratch.

Adjust settings

  1. Change mouse scroll direction (scrolling up should go up).
    1. Open Finder (Option + ⌘ + Space).
    2. Find Mouse and open its preferences.
    3. Change scroll direction.
  2. Switch (CTRL/FN) and (option/⌘) keys on the built-in keyboard. I like it when the CTRL is the left-most button and the alt-equivalent is the one left of space.
    1. Open Finder (Option + ⌘ + Space).
    2. Guide.

Install Homebrew

Follow brew.sh for instructions.

Homebrew is essential for installing most packages. macOS doesn't support an apt equivalent.

Install my nerd font

Source

brew tap homebrew/cask-fonts
brew install --cask font-dejavu-sans-mono-nerd-font

Install some binaries with brew

brew install fasd git htop neovim ranger

Install a GitHub SSH key

Install Chezmoi

Install & configure Kitty

Install & configure Fish

Configure Neovim

  1. Use Chezmoi to fetch Neovim configuration.

    chezmoi apply .config/nvim

Install direnv

Miscellaneous setup instructions

This section lists out installation sub-steps that are shared by all systems.

Fish

  1. Install fish

  2. Install fisher

  3. Install fishmarks

  4. Use Chezmoi to fetch fish configuration.

    chezmoi apply .config/fish
  5. Run

    fisher update

GitHub SSH key

If the key has been restored and is present in .ssh, you don't need this step.

  1. Generate a key.
  2. Add the key to your GitHub profile.

Chezmoi

This step requires a GitHub SSH Key.

  1. Follow install instructions.

  2. Initialize the repo with

    chezmoi init git@github.com:gregorias/dotfiles.git
  3. Fork my chezmoi config, .config/chezmoi/chezmoi.toml from the initialized repo.

Kitty

  1. Install kitty.

  2. Install the selection plugin:

    cd $HOME/.config/kitty
    git clone https://github.com/yurikhan/kitty_grab.git
  3. Use Chezmoi to fetch Kitty configuration.

    chezmoi apply .config/kitty