home: vim: use 'unimpaired' mappings for quickfix

This commit is contained in:
Bruno BELANYI 2022-03-02 20:24:16 +01:00
parent b6d1702726
commit 12d2436713
2 changed files with 6 additions and 13 deletions

View file

@ -1,13 +0,0 @@
lua << EOF
local wk = require("which-key")
local keys = {
["t"] = {
name = "Toggle",
f = { "<Plug>(qf_qf_toggle)", "Toggle quickfix list" },
l = { "<Plug>(qf_loc_toggle)", "Toggle location list" },
},
}
wk.register(keys, { prefix = "<leader>" })
EOF

View file

@ -70,6 +70,8 @@ local keys = {
b = "Light background",
c = "Cursor line",
d = "Diff",
e = { "<cmd>lwindow<CR>", "Location list" },
f = { "<cmd>cwindow<CR>", "Quickfix list" },
h = "Search high-lighting",
i = "Case insensitive search",
l = "List mode",
@ -86,6 +88,8 @@ local keys = {
b = "Light background",
c = "Cursor line",
d = "Diff",
e = { "<cmd>lclose<CR>", "Location list" },
f = { "<cmd>cclose<CR>", "Quickfix list" },
h = "Search high-lighting",
i = "Case insensitive search",
l = "List mode",
@ -102,6 +106,8 @@ local keys = {
b = "Light background",
c = "Cursor line",
d = "Diff",
e = { "<Plug>(qf_loc_toggle)", "Location list" },
f = { "<Plug>(qf_qf_toggle)", "Quickfix list" },
h = "Search high-lighting",
i = "Case insensitive search",
l = "List mode",