Skip to content

BeWe11/dotfiles

Repository files navigation

Setup

Dotfiles

  • Clone this repo into your homefolder and cd into it
  • Run ./install.sh to create symlinks from the dotfiles in this repo to your home directory, backups of your old dotfiles will be placed into ~/dotfiles_old

Terminal

  • Download iTerm2, then

    • Download this font
    • Configure iTerm2 to use the com.googlecode.iterm2.plist file as its settings file
  • Download and install Homebrew, then install the following brew packages:

    • fzf
    • git-delta
    • bat
    • htop
    • neovim
    • nvm
    • ripgrep
    • tmux
    • tmuxinator
    • wget
    • xz
    • pyenv
    • pyenv-virtualenv
  • Add the tmux-256color terminfo to the system ncurses, otherwise colors will be off when using system programs like ls while using tmux:

curl -O https://gist.githubusercontent.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color
/usr/bin/tic -x tmux-256color
rm tmux-256color
  • Run bat cache --build, this will override the default base16 theme with a custom one in .config/bat/themes. This seem only changes the line highlight color to a darker version to prevent comments from being unreadable when they are highlighted.

Python

  • Run pyenv install 3.X.X and pyenv global 3.X.X to replace the default python2 with pythonX.X.X (choose the most recent version).
  • Run pyenv virtualenv 3.X.X neovim to create a virtual env for neovim
  • Run pyenv shell neovim to active the venv
  • Run pip install black isort flake8 pynvim to allow basic autoformatting and linting without activating an environment and to add neovim integration
  • Run curl -sSL https://install.python-poetry.org | python3 - to install Poetry
  • Set poetry option virtualenvs.prefer-active-python to true

Node

  • Install the latest node.js LTS release using nvm install --lts

Vim

  • Run ":PlugInstall" in Neovim to install Vim plugins.

  • Install Language Servers:

    • Typescript: npm install -g typescript typescript-language-server
    • Python (Pyright): npm install -g pyright
    • Vue.js: npm install -g vls
    • efm (for flake8): brew install efm-langserver

MacOS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published