Skip to content

ajuljulian/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

I use these dot files on all my machines. I try to aggregate as much of my them in one location and create symlinks to them from their expected locations. These are specific to my setup on my mac (for example, my usage of homebrew), but should mostly apply to other OSes as well.

Neovim

https://neovim.io

Let's say you cloned this repo to ~/Development/configs. And let's say the neovim config file is under ~/.config/nvim

  1. Change ~/.config/nvim to a symlink: ln -s ~/Development/configs/nvim nvim
  2. Install neovim brew install neovim or brew install neovim --HEAD if you want to install the nightly build.
  3. $ pip install neovim
  4. $ npm install -g neovim
  5. Launch neovim: nvim
  6. Run :checkhealth to see if there are any issues.
  7. Upgrade the nightly build with $ brew reinstall neovim
  8. Install go binaries needed by vim-go: :GoInstallBinaries

External dependencies

  1. ranger: brew install ranger
  2. ripgrep: brew install ripgrep
  3. fd: brew install fd
  4. LSP
    1. python: $ npm i -g pyright
    2. typescript: $ npm install -g typescript typescript-language-server
    3. bash: $ npm i -g bash-language-server
    4. golang: $ brew install go && brew install gopls
    5. Prettier (Neovim): npm install --global prettier
    6. Lua-fmt: npm install --global lua-fmt

Nerd Fonts

https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts

Install using homebrew:

$ brew tap homebrew/cask-fonts
$ brew install --cask font-hack-nerd-font

Note: make sure your terminal is set to this font. For example, in the alacritty.yml config file, I've set the font explicitly to Hack Nerd Font Mono.

Alacritty (terminal emulator, does not support ligatures it looks like)

https://github.com/alacritty/alacritty

$ brew install alacritty

Create a symlink from ~/.alacritty.yml to <project dir>/configs/alacritty.yml:

ln -s ~/Development/configs/alacritty.yml ~/.alacritty.yml

Kitty (terminal emulator, supports ligatures)

https://sw.kovidgoyal.net/kitty/

$ brew install --cask kitty

Create a symlink:

$ ln -s ~/Development/configs/kitty.conf ~/.conf/kitty/kitty.conf

Ghostty (terminal emulator)

https://ghostty.org/

$ brew install --cask ghostty

Create a symlink:

$ ln -s ~/Development/configs/ghostty.conf ~/Library/Application Support/com.mitchellh.ghostty

Lazygit

https://github.com/jesseduffield/lazygit

On Macs, lazygit keeps its configuration in ~/Library/Application Support/lazygit/config.yml

Create a symlink:

$ ln -s ~/Development/configs/lazygit.conf config.yml

Zsh (Oh My Zsh, specifically)

Install:

$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Link to my dotfiles:

$ ln -s ~/Development/configs/zsh/zlogin ~/.zlogin
$ ln -s ~/Development/configs/zsh/zprofile ~/.zprofile
$ ln -s ~/Development/configs/zsh/zshrc ~/.zshrc
$ ln -s ~/Development/configs/zsh/zshenv ~/.zshenv

Powerlevel10k

https://github.com/romkatv/powerlevel10k#oh-my-zsh

Install for Oh My Zsh:

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Create a symlink from ~/.p10k.zsh to <project dir>/configs/zsh/p10k.zsh

ln -s ~/Development/configs/zsh/p10k.zsh ~/.p10k.zsh

Configure it:

$ p10k configure

Colorls

https://github.com/athityakumar/colorls#uninstallatio

Install:

$ gem install colorls

LSD

https://github.com/Peltoche/lsd

Install:

$ brew install lsd

Tmuxinator

https://github.com/tmuxinator/tmuxinator

Install:

$ gem install tmuxinator

Update:

$ gem update tmuxinator

List commands

$ tmuxinator commands

List projects:

$ tmuxinator [list|ls]

Copy existing project:

$ tmuxinator [copy|cp|c] {existing} {new}

Remove a project

$ tmuxinator [delete|rm] {project}

Edit project

$ tmuxinator open {project}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors