Skip to content

xaaha/dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,207 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development Configurations

Minimal Personal Development Environment.

Preview

Install

Note

Script installs all apps from Brewfile. Primarily for new Mac setup

curl -s https://raw.githubusercontent.com/xaaha/dev-env/refs/heads/main/install.sh | bash
  • Checks and instals if xcode-select is not available
  • Installs zap
  • Installs TPM for tmux from the official repo.
    • Install with: prefix I
    • Uninstall with: prefix alt u (option in MacOs)
    • Upgrade packages: prefix U
  • Enables fzf keybindings
# paste this and hit yes for all
$(brew --prefix)/opt/fzf/install

Configure Nvim

  • Backup Neovim Files (if it exists)
# required
mv ~/.config/nvim{,.bak}

# backup old assets
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}

# remove old assets
rm -rf ~/.local/share/nvim/
rm -rf ~/.local/state/nvim/
rm -rf ~/.cache/nvim/
  • Clone the repo
git clone git@github.com:xaaha/dev-env.git #  https://www.github.com/xaaha/dev-env
  • Stow all the folder you need with
# stow all at once
for dir in $(pwd)/*/; do stow -t ~ $(basename "$dir"); done

# pick which dir to stow with
for dir in zsh yazi; do stow -t ~ "$dir"; done

# OR stow one at a time
stow -t ~ config # to stow the config
stow -t ~ wezterm # to stow the wezterm and so on
stow -t ~ tmux

Useful Steps for tools

Collection of random items

Click to Expand ### Mac Settings
# change quit unexpectedly popup to a notification
defaults write com.apple.CrashReporter UseUNC 1
  • By default, font smoothing causes fonts to be slightly bold in Alacritty.
# disble font smoothing
defaults -currentHost write -g AppleFontSmoothing -int 0
# reset font smoothing
defaults -currentHost delete -g AppleFontSmoothing

Arch Settings

Until I have time to consolidate stuff

Keymap Settings

# GNOME
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:escape']"
# to reset this
gsettings reset org.gnome.desktop.input-sources xkb-options

Git Global Ignore

git config --global core.excludesfile "~/.gitignore_global"

Vimium Mapping for Vertical Tab

map K previousTab
map J nextTab

About

Neovim Config and other dot-files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors