Skip to content

Neovim migration — Phase 5: File navigation and search (telescope, oil/nvim-tree, ripgrep) #71

Description

@mattmenefee

Blocked by


Replace NERDTree, ag.vim, and vim-ags with modern Neovim equivalents.

Depends on: Phase 3 (lazy.nvim required).

Changes

  • Replace scrooloose/nerdtree with either nvim-tree/nvim-tree.lua or stevearc/oil.nvim (oil.nvim is the modern choice — edits the filesystem as a buffer)
  • Replace rking/ag.vim and gabesoft/vim-ags with nvim-telescope/telescope.nvim (live grep, file picker, buffer list, LSP pickers)
  • Swap the_silver_searcherripgrep in Brewfile (telescope and most modern tooling expect rg)
  • Update mappings:
    • <Leader>s → telescope grep on word under cursor
    • <Leader>a → telescope grep
    • <Leader><Leader>a → close telescope
    • Add a file-picker keymap (commonly <C-p>)
  • Replace these config bits with nvim-tree/oil equivalents:
    • let g:NERDTreeHijackNetrw=1
    • let NERDTreeShowHidden=1
    • The autocmd VimEnter * if argc() == 0 ... | NERDTree | endif startup autocmd

Acceptance

  • <Leader>s on a word opens telescope grep results
  • File picker opens via shortcut
  • Tree explorer of choice opens on startup with no args
  • ag removed from Brewfile, ripgrep added

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions