telescope-ghq is an extension for telescope.nvim that provides its users with operating x-motemen/ghq.
use{
"nvim-telescope/telescope.nvim",
requires = {
"nvim-telescope/telescope-ghq.nvim",
},
config = function()
require("telescope").load_extension "ghq"
end,
}Now supports ghq list only.
TODO: others
:Telescope ghq
Running ghq list and list repositories' paths. In default, it does actions below when you input keys.
| key | action |
|---|---|
<CR> (edit) |
builtin.git_files |
<C-x> (split) |
:chdir to the dir |
<C-v> (vsplit) |
:lchdir to the dir |
<C-t> (tabnew) |
:tchdir to the dir |
Filepath for the binary ghq.
" path can be expanded
:Telescope ghq bin=~/ghqTransform the result paths into relative ones with this value as the base dir.
Default value: vim.uv.cwd()
This is deprecated. Use path_display (:h telescope.defaults.path_display).
Show only basename of the path.
Default value: false
This is deprecated. Use path_display (:h telescope.defaults.path_display).
Call pathshorten() for each path.
Default value: false