Vi and Vim Asked by mustines on August 31, 2021
I tried with Flygrep *.kl
but it didn’t work, I searched how to use --include *.kl
as in a grep search but I didn’t find anything
A "standard vim" answer:
:args `find . -iname '*.kl'`
Substitute the find
command for any command that can generate the list of files.
Then you can use :next
and :prev
for navigating (bound conveniently to ]a
and [a
in tpope/unimpaired).
Further refinement:
:vimgrep /pattern/ ##
This searches the arglist (##
) for the given pattern
; you can use :cnext
and :cprev
to navigate (bound to ]q
and [q
in tpope/unimpaired).
Answered by D. Ben Knoble on August 31, 2021
Flygrep is a plugin for searching text. it do not for searching file path. if you want to searching file path, I recommended to use denite.nvim
Answered by Wang Shidong on August 31, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP