Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/larrylv/dotfiles

config files for vim, tmux, bash, git, etc.
https://github.com/larrylv/dotfiles

bash dotfiles gitconfig tmux vim

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# larrylv/dotfiles

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

## dotfiles

```
git clone [email protected]: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.2
pyenv global 3.12.2

pip install --upgrade autopep8 isort ruff pytest pipenv virtualenv pdm
```

## 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
```

## 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

* Install [Monaco Nerd Font](https://github.com/larrylv/monaco-nerd-font/blob/main/Monaco%20Nerd%20Font%20Complete.otf).
* Install `solarized` for `iTerm` and `Terminal`.

random stuff:
```
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
```

Interesting open source projects:
```
# solarized
git clone [email protected]:altercation/solarized.git ~/code/solarized

# go
git clone [email protected]:nadoo/glider.git ~/code/gopath/src/github.com/nadoo/glider
git clone [email protected]:panjf2000/gnet.git ~/code/gopath/src/github.com/panjf2000/gnet
git clone [email protected]:rqlite/rqlite.git ~/code/gopath/src/github.com/rqlite/rqlite

# python
git clone [email protected]:agronholm/anyio.git ~/code/anyio
git clone [email protected]:tiangolo/fastapi.git ~/code/fastapi
git clone [email protected]:pydantic/pydantic.git ~/code/pydantic
git clone [email protected]:tiangolo/sqlmodel.git ~/code/sqlmodel
git clone [email protected]:encode/starlette.git ~/code/starlette
```