Skip to content

feat(neovim): add built-in fuzzy finder and keymaps#223

Draft
kirillmorozov wants to merge 7 commits into
mainfrom
feat/neovim/builtin-completion
Draft

feat(neovim): add built-in fuzzy finder and keymaps#223
kirillmorozov wants to merge 7 commits into
mainfrom
feat/neovim/builtin-completion

Conversation

@kirillmorozov
Copy link
Copy Markdown
Owner

@kirillmorozov kirillmorozov commented Apr 4, 2026

Port cmdline autocompletion from vim/vimrc to Neovim:

  • Fuzzy file finder via findfunc + matchfuzzy with fd/globpath
  • Automatic cmdline popup via wildtrigger
  • Built-in keymaps for LSP, grep, find, buffer, help, diagnostics
  • <C-v> in cmdline to open :find/:buffer/:help in vertical split
  • <Leader>' to resume last command

These serve as defaults that fzf-lua overrides when enabled via VeryLazy loading, keeping plugin/keymaps.lua plugin-agnostic.

Requires Neovim >= 0.12 to work properly.

@kirillmorozov kirillmorozov self-assigned this Apr 4, 2026
@kirillmorozov kirillmorozov force-pushed the feat/neovim/builtin-completion branch from 436b29f to bdee4d3 Compare April 4, 2026 10:48
@kirillmorozov kirillmorozov changed the title feat(neovim): built-in completion feat(neovim): add built-in fuzzy finder and keymaps Apr 4, 2026
@kirillmorozov kirillmorozov force-pushed the feat/neovim/builtin-completion branch 3 times, most recently from 389c954 to 4c4d409 Compare April 6, 2026 16:31
Port cmdline autocompletion features from vim/vimrc to Neovim:
- Fuzzy file finder via findfunc + matchfuzzy with fd/globpath
- Automatic cmdline popup via wildtrigger
- <C-v> in cmdline to open :find/:buffer in vertical split
- <Leader>f, <Leader>b, and <Leader>' navigation keymaps
Port remaining fzf.lua keymaps to built-in equivalents:
- gsd for definition in split, <Leader>s/S for symbols
- <Leader>/ for grep, <Leader>h for help, <Leader>j for jumps
- <Leader>d/D for document/workspace diagnostics
- Replace gy with built-in grt in fzf.lua
Move vertical split cmdline keymap from finder.lua to keymaps.lua
as it is independent from fuzzy finding. Change <Leader>h to plain
:help since <C-v> handles the vertical split conversion.
Ensures fzf-lua keymaps are set after plugin/keymaps.lua so they
override the built-in fallbacks instead of being overwritten.
@kirillmorozov kirillmorozov force-pushed the feat/neovim/builtin-completion branch from 4c4d409 to c8ce009 Compare April 7, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant