diff options
author | abzcoding <[email protected]> | 2021-07-27 22:21:25 +0430 |
---|---|---|
committer | abzcoding <[email protected]> | 2021-07-27 22:21:25 +0430 |
commit | 44dc05c242f672e263d7f13db9135b691f41fe8f (patch) | |
tree | 3d6c58c2b0775b96956a4cf929843f50627f226b /utils/installer/lv-config.example.lua | |
parent | 5d204a469174efd97c8f8738d0addd0953c8e143 (diff) |
add some sample which-key mappings to lv-config.lua and README.md
Diffstat (limited to 'utils/installer/lv-config.example.lua')
-rw-r--r-- | utils/installer/lv-config.example.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index ef4e0645..681f5f65 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -73,3 +73,13 @@ lvim.builtin.treesitter.highlight.enabled = true -- } -- Additional Leader bindings for WhichKey +-- lvim.builtin.which_key.mappings["P"] = { "<cmd>lua require'telescope'.extensions.project.project{}<CR>", "Projects" } +-- lvim.builtin.which_key.mappings["t"] = { +-- name = "+Trouble", +-- r = { "<cmd>Trouble lsp_references<cr>", "References" }, +-- f = { "<cmd>Trouble lsp_definitions<cr>", "Definitions" }, +-- d = { "<cmd>Trouble lsp_document_diagnostics<cr>", "Diagnosticss" }, +-- q = { "<cmd>Trouble quickfix<cr>", "QuickFix" }, +-- l = { "<cmd>Trouble loclist<cr>", "LocationList" }, +-- w = { "<cmd>Trouble lsp_workspace_diagnostics<cr>", "Diagnosticss" }, +-- } |