mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 13:20:44 +00:00
telescope: add missing mappings, cleanup (#469)
This commit is contained in:
parent
8099b9c821
commit
2bce0d957b
1 changed files with 20 additions and 19 deletions
|
@ -34,36 +34,37 @@ in {
|
||||||
|
|
||||||
keys =
|
keys =
|
||||||
[
|
[
|
||||||
(mkSetLznBinding "n" mappings.findFiles "<cmd> Telescope find_files<CR>")
|
(mkSetLznBinding "n" mappings.findFiles "<cmd>Telescope find_files<CR>")
|
||||||
(mkSetLznBinding "n" mappings.liveGrep "<cmd> Telescope live_grep<CR>")
|
(mkSetLznBinding "n" mappings.liveGrep "<cmd>Telescope live_grep<CR>")
|
||||||
(mkSetLznBinding "n" mappings.buffers "<cmd> Telescope buffers<CR>")
|
(mkSetLznBinding "n" mappings.buffers "<cmd>Telescope buffers<CR>")
|
||||||
(mkSetLznBinding "n" mappings.helpTags "<cmd> Telescope help_tags<CR>")
|
(mkSetLznBinding "n" mappings.helpTags "<cmd>Telescope help_tags<CR>")
|
||||||
(mkSetLznBinding "n" mappings.open "<cmd> Telescope<CR>")
|
(mkSetLznBinding "n" mappings.open "<cmd>Telescope<CR>")
|
||||||
|
(mkSetLznBinding "n" mappings.resume "<cmd>Telescope resume<CR>")
|
||||||
|
|
||||||
(mkSetLznBinding "n" mappings.gitCommits "<cmd> Telescope git_commits<CR>")
|
(mkSetLznBinding "n" mappings.gitCommits "<cmd>Telescope git_commits<CR>")
|
||||||
(mkSetLznBinding "n" mappings.gitBufferCommits "<cmd> Telescope git_bcommits<CR>")
|
(mkSetLznBinding "n" mappings.gitBufferCommits "<cmd>Telescope git_bcommits<CR>")
|
||||||
(mkSetLznBinding "n" mappings.gitBranches "<cmd> Telescope git_branches<CR>")
|
(mkSetLznBinding "n" mappings.gitBranches "<cmd>Telescope git_branches<CR>")
|
||||||
(mkSetLznBinding "n" mappings.gitStatus "<cmd> Telescope git_status<CR>")
|
(mkSetLznBinding "n" mappings.gitStatus "<cmd>Telescope git_status<CR>")
|
||||||
(mkSetLznBinding "n" mappings.gitStash "<cmd> Telescope git_stash<CR>")
|
(mkSetLznBinding "n" mappings.gitStash "<cmd>Telescope git_stash<CR>")
|
||||||
]
|
]
|
||||||
++ (optionals config.vim.lsp.enable [
|
++ (optionals config.vim.lsp.enable [
|
||||||
(mkSetLznBinding "n" mappings.lspDocumentSymbols "<cmd> Telescope lsp_document_symbols<CR>")
|
(mkSetLznBinding "n" mappings.lspDocumentSymbols "<cmd>Telescope lsp_document_symbols<CR>")
|
||||||
(mkSetLznBinding "n" mappings.lspWorkspaceSymbols "<cmd> Telescope lsp_workspace_symbols<CR>")
|
(mkSetLznBinding "n" mappings.lspWorkspaceSymbols "<cmd>Telescope lsp_workspace_symbols<CR>")
|
||||||
|
|
||||||
(mkSetLznBinding "n" mappings.lspReferences "<cmd> Telescope lsp_references<CR>")
|
(mkSetLznBinding "n" mappings.lspReferences "<cmd>Telescope lsp_references<CR>")
|
||||||
(mkSetLznBinding "n" mappings.lspImplementations "<cmd> Telescope lsp_implementations<CR>")
|
(mkSetLznBinding "n" mappings.lspImplementations "<cmd>Telescope lsp_implementations<CR>")
|
||||||
(mkSetLznBinding "n" mappings.lspDefinitions "<cmd> Telescope lsp_definitions<CR>")
|
(mkSetLznBinding "n" mappings.lspDefinitions "<cmd>Telescope lsp_definitions<CR>")
|
||||||
(mkSetLznBinding "n" mappings.lspTypeDefinitions "<cmd> Telescope lsp_type_definitions<CR>")
|
(mkSetLznBinding "n" mappings.lspTypeDefinitions "<cmd>Telescope lsp_type_definitions<CR>")
|
||||||
(mkSetLznBinding "n" mappings.diagnostics "<cmd> Telescope diagnostics<CR>")
|
(mkSetLznBinding "n" mappings.diagnostics "<cmd>Telescope diagnostics<CR>")
|
||||||
])
|
])
|
||||||
++ (
|
++ (
|
||||||
optionals config.vim.treesitter.enable [
|
optionals config.vim.treesitter.enable [
|
||||||
(mkSetLznBinding "n" mappings.treesitter "<cmd> Telescope treesitter<CR>")
|
(mkSetLznBinding "n" mappings.treesitter "<cmd>Telescope treesitter<CR>")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
++ (
|
++ (
|
||||||
optionals config.vim.projects.project-nvim.enable [
|
optionals config.vim.projects.project-nvim.enable [
|
||||||
(mkSetLznBinding "n" mappings.findProjects "<cmd Telescope projects<CR>")
|
(mkSetLznBinding "n" mappings.findProjects "<cmd>Telescope projects<CR>")
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue