We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
man fzf
Linux
zsh
nvim --version
NVIM v0.10.0-dev-9e2f378
fzf --version
0.51.0
:lua print(os.getenv('FZF_DEFAULT_OPTS'))
--ansi --border --bind page-up:preview-up,page-down:preview-down,?:toggle-preview
mini.sh
local fzf_history_dir = vim.env.HOME .. '/.local/share/nvim/fzf-history' if vim.fn.isdirectory(fzf_history_dir) == 0 then vim.fn.system { 'mkdir', '-p', fzf_history_dir, } end local fzf_lua = require 'fzf-lua' local sel_to_qf = function(selected, opts) local qf_list = {} for i = 1, #selected do local file = fzf_lua.path.entry_to_file(selected[i], opts) local text = selected[i]:match ':%d+:%d?%d?%d?%d?:?(.*)$' table.insert(qf_list, { filename = file.bufname or file.path, lnum = file.line, col = file.col, text = text, }) end vim.fn.setqflist(qf_list) vim.cmd 'FzfLua quickfix' end local function file_edit_or_qf(selected, opts) if #selected > 1 then return sel_to_qf(selected, opts) else fzf_lua.actions.file_edit(selected, opts) end end fzf_lua.setup { keymap = { builtin = { ['<F1>'] = 'toggle-help', ['<F2>'] = 'toggle-fullscreen', ['<F3>'] = 'toggle-preview', ['<PageDown>'] = 'preview-page-down', ['<PageUp>'] = 'preview-page-up', ['<Home>'] = 'preview-page-reset', }, fzf = { ['tab'] = 'toggle', ['ctrl-a'] = 'toggle-all', ['ctrl-f'] = 'half-page-down', ['ctrl-b'] = 'half-page-up', }, }, fzf_opts = { ['--layout'] = 'default', ['--history'] = fzf_history_dir .. '/fzf-lua', ['--history-size'] = '10000', }, actions = { files = { ['enter'] = file_edit_or_qf, ['ctrl-s'] = fzf_lua.actions.file_vsplit, }, }, files = { git_icons = false, }, grep = { git_icons = false, file_icons = false, color_icons = false, }, }
When running nvim as man pager:
export MANPAGER='nvim +Man!'
Then we can not jump to locations with FzfLua.
aws configure set help
:FzfLua loclist
The text was updated successfully, but these errors were encountered:
It works with gO (ge-oh)
gO
Sorry, something went wrong.
8c15b66
@sandangel with 8c15b66 should work as expected.
No branches or pull requests
RTFM Checklist
man fzf
/ I am well versed in shell fzfOperating system
Linux
Shell
zsh
Neovim version (
nvim --version
)NVIM v0.10.0-dev-9e2f378
Fzf version (
fzf --version
)0.51.0
Output of
:lua print(os.getenv('FZF_DEFAULT_OPTS'))
--ansi --border --bind page-up:preview-up,page-down:preview-down,?:toggle-preview
Is the problem reproducible with
mini.sh
?mini.sh
mini.sh
mini.sh
(not relevant, requires LSP, Windows, etc)Fzf-lua configuration
Describe the bug / steps to reproduce
When running nvim as man pager:
Then we can not jump to locations with FzfLua.
The text was updated successfully, but these errors were encountered: