Coder Social home page Coder Social logo

lambdalisue / vim-fall Goto Github PK

View Code? Open in Web Editor NEW
30.0 2.0 2.0 729 KB

๐Ÿ‚ Another fuzzy finder designed for Vim and Neovim and implemented in Denops

Home Page: https://jsr.io/@lambdalisue/vim-fall

License: MIT License

TypeScript 92.90% Vim Script 7.10%
denops fuzzy-finder neovim vim vim-fall

vim-fall's Introduction

๐Ÿ‚ fall

Test codecov MIT License vim help

Screencast

Fall (vim-fall) is an abbreviation for "Filter All," another fuzzy finder designed for Vim and Neovim and implemented in Denops.

Alpha version. Please note that any changes, including those that may be backward incompatible, will be implemented without prior announcements.

Requirements

Users must install Deno.

Installation

To install Denops and this plugin using your preferred plugin manager, such as vim-plug, add the following lines to your Vim configuration:

Plug 'vim-denops/denops.vim'
Plug 'lambdalisue/vim-fall'

Usage

Use :Fall command to open the fuzzy finder. The command accepts the following arguments:

Fall {source} {source_args}...

For example, if you'd like to use file source, you can use the following

Fall file

Or line source with README.md as an argument

Fall line README.md

Similar Projects

  • ddu.vim
    A highly customizable and extensible fuzzy finder for Vim/Neovim written in Denops.
  • telescope.nvim
    The de facto standard fuzzy finder for Neovim.
  • ctrlp.vim
    A classic and famous fuzzy finder for Vim.

License

The code in this repository follows the MIT license, as detailed in LICENSE. Contributors must agree that any modifications submitted to this repository also adhere to the license.

vim-fall's People

Contributors

kuuote avatar lambdalisue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kuuote

vim-fall's Issues

Add more builtin extensions

Source

  • General
    • File
    • Line
    • List
    • Ripgrep
  • Vim
    • buffer
    • window
    • tabpage
    • quickfix
    • loclist
    • oldfiles
    • grep
    • vimgrep
    • colorscheme
    • highlight
    • helptag
    • jumplist
    • register
    • mark
    • command
    • history (command, search)
    • mapping
  • fall
    • extension
  • extra (will be removed in beta release)
    • source from ddu source

Projector

  • cwd filter
  • exists filter
  • substring filter
  • lexical sort
  • numerical sorter
  • date sorter
  • fzf matcher
  • stat annotator
  • bufinfo annotator
  • to relative path

Renderer

Previewer

  • buffer
  • file
  • attribute
  • helptag
  • extension
  • shell command

Action

  • Vim
    • debug
    • open
    • quickfix
    • location list
    • cd/lcd/tcd (cmd:cd, cmd:lcd, cmd:tcd)
    • cmd
    • help (cmd:helptag)
    • function call
    • yank
    • write buffers (modified buffer) (cmd:write)
    • unload/delete/wipe buffers (cmd:bunload, cmd:bdelete, cmd:bwipeout)
  • Others
    • system open

Syntax highlight in Preview component is not valid

It seems the following code does not apply proper (full) syntax highlight.

function! fall#internal#preview#highlight() abort
let l:eventignore = &eventignore
try
let &eventignore = join(split(&eventignore, ',') + ['FileType'], ',')
silent! filetype detect
silent! execute printf('runtime syntax/%s.vim', fnameescape(&filetype))
finally
let &eventignore = l:eventignore
endtry
endfunction

We need to avoid side-effects but we want full syntax highlight. If anyone know how to solve this issue, let me know.

The following screenshots shows the issue (background one is full syntax highlight and right side (preview component) is not fully syntax highlighted).

Vim

CleanShot 2024-05-20 at 00 23 39

Neovim

CleanShot 2024-05-20 at 00 23 09

Can't run with lazy

I tried to install the plugin but I got this error:

[denops] Failed to load plugin 'fall': TypeError: Could not find constraint in the list of versions: @std/assert@^0.226.0
[denops]   Specifier: jsr:/@std/assert@^0.226.0/assert
[denops]     at https://jsr.io/@std/cli/0.224.5/parse_args.ts:19:24

this is how I installed it:

return {
	"lambdalisue/vim-fall",
	lazy = false,
	dependencies = {
		"vim-denops/denops.vim",
	},
}

My nvim version is:

NVIM v0.11.0-dev-155+g9eb042600
Build type: Release
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.