Replies: 1 comment 7 replies
-
require('fzf-lua').files {
actions = {
['ctrl-g'] = {
fn = function(selected, opts) local pos = tonumber(selected[1]) end,
field_index = '$FZF_POS',
},
},
} |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I call an action, I also want to know the position of the current entry, i.e. like
$FZF_POS
when settingfzf_opts.--info-command
, is this possible?Beta Was this translation helpful? Give feedback.
All reactions