home: vim: use 'unimpaired' mappings for quickfix
This commit is contained in:
parent
4cecb8b987
commit
842489a986
|
@ -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
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue