donaldttt / fuzzyy Goto Github PK
View Code? Open in Web Editor NEWA vim9 fuzzy finder plugin with minimal dependency and mordern UI
License: MIT License
A vim9 fuzzy finder plugin with minimal dependency and mordern UI
License: MIT License
Is there any way to use the fuzzy finder to filter arbitrary data? (e.g. by piping in commit history from Git)
Got the idea from fzf.vim, which uses fzf
to filter through commit history, in addition to jumps, marks, :- and /-history, and others.
Hello,
after the latest commit I'm getting the following error when executing any fuzzyy command (e.g. :FuzzyGitFiles) , which blocks keyboard from interacting with the plugin:
Error detected while processing function <SNR>92_PromptFilter:
line 47:
E716: Key not present in Dictionary: "delete_prefix"
Press ENTER or type command to continue
Environment: Fedora 38 + Vim 9, specifically:
vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 15 2023 00:00:00)
Included patches: 1-2167
Modified by <[email protected]>
Compiled by <[email protected]>
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_urxvt -tag_any_white
+arabic +find_in_path +mouse_xterm -tcl
+autocmd +float +multi_byte +termguicolors
+autochdir +folding +multi_lang +terminal
-autoservername -footer -mzscheme +terminfo
-balloon_eval +fork() +netbeans_intg +termresponse
+balloon_eval_term +gettext +num64 +textobjects
-browse -hangul_input +packages +textprop
++builtin_terms +iconv +path_extra +timers
+byte_offset +insert_expand +perl/dyn +title
+channel +ipv6 +persistent_undo -toolbar
+cindent +job +popupwin +user_commands
-clientserver +jumplist +postscript +vartabs
-clipboard +keymap +printer +vertsplit
+cmdline_compl +lambda +profile +vim9script
+cmdline_hist +langmap -python +viminfo
+cmdline_info +libcall +python3/dyn +virtualedit
+comments +linebreak +quickfix +visual
+conceal +lispindent +reltime +visualextra
+cryptv +listcmds +rightleft +vreplace
+cscope +localmap +ruby/dyn +wildignore
+cursorbind +lua/dyn +scrollbind +wildmenu
+cursorshape +menu +signs +windows
+dialog_con +mksession +smartindent +writebackup
+diff +modify_fname +sodium -X11
+digraphs +mouse -sound +xattr
-dnd -mouseshape +spell -xfontset
-ebcdic +mouse_dec +startuptime -xim
+emacs_tags +mouse_gpm +statusline -xpm
+eval -mouse_jsbterm -sun_workshop -xsmp
+ex_extra +mouse_netterm +syntax -xterm_clipboard
+extra_search +mouse_sgr +tag_binary -xterm_save
-farsi -mouse_sysmouse -tag_old_static
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSYS_VIMRC_FILE=/etc/vimrc -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -o vim -lm -lselinux -lncurses -lsodium -lacl -lattr -lgpm
Is it possible? I'm using:
use { 'Donaldttt/fuzzyy'}
And Packer shows it's installing it with no warnings or errors. But none of the Fuzzy* commands actually work:
Not an editor command: FuzzyFiles
Am I missing something? I'm using Neovim, if that matters.
Would love to see an option to only search files that are included in the current git repo. Fzf does this using fugitive.
I get this error for all of the defined commands (replace 'files' with 'colors', 'ag', etc.), updated to latest commit just now and I'm on macvim 9.0.1403.
I'm not sure if its just me, but I am very dug in on using the readline keybindings when navigating a line editor.
Ctrp-{p,n} is implemented and works great, but i would like to be able to use Ctrl-{a,k,e} do navigate to the beginning and end of the line aswell as kill the line completly.
Is there anyway for me to create these mappings using the current state of the plugin ?
Killer plugin tho! Love it
Best regards
Hello,
Great work on this plugin!
Is there a way to configure this plugin to respect caps in my search query?
Hi
I am currently using FuzzyBuffers
. How do i open the files in :vs
/:sp
or :tab
?
Thanks
Is there a way to disable the preview window?
I haven't found anything in the documentation or the options.
I used to disable preview window in FZF using:
g:fzf_preview_window = []
Usually preview window is a useful feature, but sometimes there are some ftplugins that cause issues like chrisbra/csv.vim.
My preference is to disable it too, as I don't like unnecessary IO of reading a file when I've not decided to open it.
Thanks a lot for the plugin!
When using :FuzzyBuffers to select a terminal buffer opened by :term
works fine, but it fails to open the proper buffer when using split or tab keymaps <C-s>
, <C-v>
or <C-t>
.
To reproduce:
# Open vim
:terminal
<C-w>c # closes terminal window
:FuzzyBuffers
# Select terminal buffer
<C-s>
It works fine if I use <CR>
instead of <C-s>
or <C-v>
Once again, thanks for the plugin and quick response to issues!
Thank you for creating this plugin.
Is it possible for :FuzzyBuffers
to offer the same listing as :ls
please?
fd is cross platform and claims to be faster than find. In windows, powershell gci is too much slow in comparison to fd.
in ag.vim, first line, vimscrip -> vimscript.
Thx for the great plugin btw. instant i gave โญ.
instead of 2 separate plugin(fzf & fzf.vim) just one simple and lean plugin. thank you
thanks for the great plugin!
whats the best way to let FuzzyyMRUFiles show only current project MRU?
First of all, thank you, this tool is truly commendable.
For FuzzyFiles it works but for FuzzyGrep is ignored
g:fuzzyy_window_layout = {
'FuzzyGrep': { 'preview': 1, 'preview_ratio': 0.5, 'width': 0.98, },
Line 299 in b79d4c6
Something like this:
FuzzyGrep <C-R><C-W><CR>
Great Plugin btw!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.