Local terminal/editor defaults for Python development, with a repo-aware Vim setup for
~/code/openai.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/jeffniu-openai/dotfiles/main/setup.sh)"The setup script clones or updates this repo at ~/.dotfiles, backs up existing target
files, and symlinks:
~/.vimrc~/.vim/openai-python.vim~/.tmux.conf
The Vim config keeps hlsearch, number, and relativenumber enabled. It also adds
quickfix-backed helpers for the OpenAI monorepo:
<leader>ofopens files withrg --files | fzf<leader>ogsearches the repo withrg<leader>orrunsruff check<leader>oRrunsruff check --fix<leader>oprunspyright<leader>ofmruns Ruff import fixes and Black formatting<leader>otruns pytest for the current file
The tmux config enables mouse support, vi-style copy mode, current-directory splits, Vim-like pane navigation, fast window navigation, and a compact top status line.