Skip to content

Add Neovim navigation keybindings#3

Draft
gregory wants to merge 8 commits intonvimfrom
codex/port-vimrc-keybindings-to-neovim
Draft

Add Neovim navigation keybindings#3
gregory wants to merge 8 commits intonvimfrom
codex/port-vimrc-keybindings-to-neovim

Conversation

@gregory
Copy link
Copy Markdown
Owner

@gregory gregory commented May 31, 2025

Summary

  • add Neovim config directory
  • port navigation related key mappings from vimrc to mappings.lua

Testing

  • nvim --version (fails: command not found)

https://chatgpt.com/codex/tasks/task_b_683b4f78b2bc8332912eed1a6e318ce7

gregory and others added 7 commits April 10, 2026 09:29
- Delete tmux.conf, bin/tmux (custom tmux wrapper), bin/it2setkeylabel
- Remove tmux alias and fzf-tmux reference from bashrc
- Guard bashrc nvm sourcing so zsh lazy loader wins
- Delete .config/nvim/ orphan stub (real nvim config lives at ~/.config/dotfiles/nvim)
- Codex-era vimrc reformat carried along

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Delete unused Ruby/Rails-era configs: gemrc (pointed to dead
gems.rubyforge.org), pryrc, guardfile, rspec, ackrc (rg replaces ack).

Add *.un~ and .claude/ to gitignore to keep vim undofiles and local
Claude state out of the repo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Drop contradictory 'set cursorline' / 'set showmatch' lines that
  were immediately overridden by their 'no*' twin.
- Resolve g:coc_node_path from PATH at startup instead of hardcoding
  /Users/greg/.nvm/versions/node/v16.12.0/bin/node, which breaks on
  every node upgrade.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- gitconfig now [include]s ~/.gitconfig.local where user.email lives,
  keeping the public dotfiles free of a personal email address.
- Drop dead [difftool/mergetool "sourcetree"] sections.
- Rakefile: remove obsolete 'brew install vim --with-lua' (flag removed
  from Homebrew in 2019) and fix the stray quote in LICENSE" that made
  it impossible to ignore LICENSE during install.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bring zshrc in sync with the live ~/.zshrc that was diverging because
Rakefile used to cp (not symlink) it on install. The repo copy now
includes:

- Lazy-loading nvm shims (nvm/node/npm/npx/yarn/pnpm) — cuts ~1.5s off
  interactive startup (measured: 2.9s -> 1.0s).
- PATH entry for the default node bin so 'which node' works without
  triggering the loader.
- Trimmed oh-my-zsh boilerplate comments.
- Slimmed plugins to (git brew): the rails plugin was aliasing `rg`
  to 'rails generate', silently breaking ripgrep.

Rakefile: drop the zshrc cp special-case so it gets symlinked like
everything else, preventing future drift.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Daily driver is now nvim via ~/.config/nvim -> ~/.config/dotfiles/nvim
(NvChad-based, with its own plugin manager and lazy-lock). The legacy
vim world was ~600 MB of plugged/ dirs, a 1,271-line vimrc, and a
ctags-for-javascript scratch dir that's obsolete now that LSP handles
JS navigation via coc / native LSP.

- Delete tracked vimrc and vim/autoload/plug.vim
- Remove the local 598 MB vim/plugged plugin tree (not tracked)
- Drop the untracked ctags-patterns-for-javascript/ scratch dir
- Unlink dangling ~/.vimrc (which pointed at the deleted file)

A copy of the retired vimrc is preserved at /tmp/vimrc.retired.bak
for a few days in case anything needs to be salvaged.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant