feat(neovim): add built-in fuzzy finder and keymaps#223
Draft
kirillmorozov wants to merge 7 commits into
Draft
Conversation
436b29f to
bdee4d3
Compare
389c954 to
4c4d409
Compare
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.
4c4d409 to
c8ce009
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port cmdline autocompletion from vim/vimrc to Neovim:
findfunc+matchfuzzywithfd/globpathwildtrigger<C-v>in cmdline to open:find/:buffer/:helpin vertical split<Leader>'to resume last commandThese 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.