Home

Awesome

fzf-lua-asynctasks

fzf-lua integration for asynctasks

screenshot

Installation

fzf-lua and asynctasks should be installed, plese follow their installation instructions.

With packer:

use {
  'deathmaz/fzf-lua-asynctasks',
  config = function()
    require('fzf-lua-asynctasks').setup({
      -- write fzf-lua config here if needed
    })
  end
}

Usage

vim.keymap.set('n', '\\t', function()
  fzf_lua.asynctasks()
end, { noremap = true, silent = true })

vim.keymap.set('n', '\\t', '<cmd>FzfLua asynctasks<CR>', { noremap = true, silent = true })

or

:FzfLua asynctasks

Configuration

Refer to fzf-lua for configuration explanation

Default configuration:

{
  actions = {
    ['default'] = require('fzf-lua-asynctasks').default_action
  },
  fzf_opts = {
    ["--no-multi"] = '',
    ["--nth"]      = '1',
  },
  winopts = {
    height = 0.6,
    width = 0.6,
  }
}