plugins.yanky.picker.select.action

This define the action that should be done when selecting an item in the vim.ui.select prompt. If you let this option to null, this will use the default action: put selected item after cursor.

This is either:

  • a rawLua value (action.__raw = "function() foo end";).
  • a string. In this case, Nixvim will automatically interpret it as a builtin yanky action. Example: action = "put('p')"; will translate to action = require('yanky.picker').actions.put('p') in lua.

Type: null or raw lua code or string

Default: null

Declared by: