/dotfiles

Them dotfiles

Primary LanguageVim Script

dotfiles

Them dotfiles

Getting Started

  1. Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Download this repo and use the osx branch
git clone https://github.com/urosht/dotfiles.git -b osx
  1. Run the setup
cd dotifles && ./setup.sh
  1. Get and install pip & Install pynvim
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
python3 -m pip install --user --upgrade pynvim
  1. Open iTerm2 -> Optionas -> Profiles -> Text and configure Mononoki nerdfont as chosen font
  2. Configure aws profile (check the docs)
  3. Configure kubectl Azure auth: export KUBECONFIG=/Users/trifuurp/.kube/config && kubelogin convert-kubeconfig
  4. In iTerm -> Optionas -> Profiles -> Keys -> Left Option Key = Esc+

Other things to install manually

  • Todoist
  • Inkdrop
  • RescueTime
  • Visual Studio Code
    • GitLense
    • Vim emulation
  • IntelliJ IDEA (for enabling CLI launcher, Open IntelliJ -> Tools -> Create Command-Line Launcher)
  • Since we are installing mvn via homebrew, it will automatically install latest JDK. In case we don't want Maven to use the latest JDK, we need to edit it here: /usr/local/Cellar/maven/3.8.6/bin/mvn. Details can be found in this article -> https://euedofia.medium.com/fix-default-java-version-on-maven-on-mac-os-x-156cf5930078

Common issues

homebrew Error: Failed to link all completions, docs and manpages

Run brew doctor and follow the advice to link the docs. Usually, it will be

sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions

Python provider error in neovim

Usually happens when python3 executable cannot be found by neovim. Make sure you have pynvim installed:

pip3 install pynvim

Then update plugins in vim:

:UpdateRemotePlugins

TODO

  • Add AWS profile to statusline
  • Add icons for k8s and tf instead of text, if possible
  • Add git information to zsh
  • Zoom panes in tmux
  • Resize panes in tmux
  • Update Java version to 17 in the scripts