Skip to content

larrylv/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,752 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

larrylv/dotfiles

These are the config files to set up a machine the way I like it.

dotfiles

git clone git@github.com:larrylv/dotfiles.git ~/code/dotfiles
cd ~/code/dotfiles
mkdir -p ~/.config/nvim
rake install

homebrew & packages

# https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# packages are managed by `Brewfile`
brew bundle install --no-lock --verbose

# install missing packages only
brew bundle install --no-upgrade --no-lock --verbose

python stuff

pyenv install 3.12.9
pyenv global 3.12.9

pip install --upgrade autopep8 isort ruff pytest pipenv virtualenv pdm pre-commit pyp

ruby stuff

rbenv install 3.3.0
rbenv global 3.3.0

gem install bundler coderay colorize m mocha minitest pry pry-byebug ripper-tags rubocop sorbet sorbet-runtime sorbet-static

neovim, along with its plugins and dependencies

# ~/.pyenv/shims/pip3 --upgrade pyvim neovim
pip install --upgrade pynvim neovim

nvim --headless +PlugInstall +UpdateRemotePlugins +qall

cargo install proximity-sort autojump

tmux & plugins

gem install tmuxinator

Install tmux plugins: https://github.com/tmux-plugins/tpm#installation

cp $TMUX_RESURRECT_BACKUP ~/.tmux/resurrect/tmux_resurrect_backup.txt
ln -s ~/.tmux/resurrect/last ~/.tmux/resurrect/tmux_resurrect_backup.txt

bash

# add $HOMEBREW_PREFIX/bin/bash to `/etc/shells`, then
chsh -s $HOMEBREW_PREFIX/bin/bash

# enable sudo without a password
# https://jefftriplett.com/2022/enable-sudo-without-a-password-on-macos/

# make sure that the existing ~/.bash_history doesn't have anything you wanna keep
cp $BASH_HISTORY_BACKUP ~/.bash_history

other stuff

random stuff:

# make held letter keys repeat
defaults write -g ApplePressAndHoldEnabled -bool false

mkdir -p $HOME/code/gopath
mkdir -p ~/.local/bin

# fix gitgutter `too many files` error
sudo launchctl limit maxfiles 10240 200000
# or make the change permanent
https://apple.stackexchange.com/questions/381999/how-to-make-sudo-launchctl-limit-change-permanent

About

config files for vim, tmux, bash, git, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors