Skip to content

adrielp/dotfiles

Repository files navigation

Adriel's Dotfiles Repository

This repository hosts .files (dotfiles) used for my personal development environment workflow. The scripts in this repository, and the assumptions made are mostly intended for MacOS; however, there are cross-platform applications for Linux systems.

Instructions

The following things need to be run in order. This will take a new computer from zero -> hero. This is designed primarily for MacOS, but also works on Linux and can "kinda" be used on Windows.

  1. the Homebrew Package Manager
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install and Configure Oh My ZSH
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ""
  1. Install and Configure Powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  1. Run ./setup_env.sh to:
    • install brew bundles
    • stow the dotfiles

    If you get errors with stow due to files already existing, ensure that you backup the hold files and then delete them to let stow replace them.

    • install vim-plug
    • install a couple lsps
  2. Open NeoVim by running nvim or vim and run:
    • :PlugInstall

Files in this repository

tree
.
├── .config
│   └── nvim
│       ├── init.vim
│       ├── lua
│       │   ├── main.lua
│       │   └── user
│       │       ├── fugitive.lua
│       │       ├── harpoon.lua
│       │       ├── keymaps.lua
│       │       ├── lsp.lua
│       │       ├── plugins.lua
│       │       ├── settings.lua
│       │       └── treesitter.lua
│       └── vscode
│           └── keybinds.vim
├── .gitignore
├── .stow-local-ignore
├── .tmux.conf
├── .zshrc
├── Brewfile
├── LICENSE.md
├── README.md
├── iterm-profile.json
└── setup_env.sh

5 directories, 19 files

The files in this repository are a continual work in progress. The automation listed in this repository will do the following:

  • Create a ~/.config directory to place your NeoVim configuration.
  • Install vim-plug
  • Install several packages using brew bundle against the Brewbundle file
  • Globally install a few language servers used by NeoVIM using NPM

VSCode (WIP)

You can use the NeoVim plugin for VSCode with this setup. To make sure j k h l run on hold, you need to run the following command on MacOS. defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false

You can read more about this on VSCodium/VIM's Readme