mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-03 01:25:33 +02:00
style(keymaps): no need to check for trouble to set [q, ]q
This commit is contained in:
parent
8c726cd166
commit
5c4f881158
1 changed files with 2 additions and 4 deletions
|
@ -81,10 +81,8 @@ map("n", "<leader>fn", "<cmd>enew<cr>", { desc = "New File" })
|
|||
map("n", "<leader>xl", "<cmd>lopen<cr>", { desc = "Location List" })
|
||||
map("n", "<leader>xq", "<cmd>copen<cr>", { desc = "Quickfix List" })
|
||||
|
||||
if not Util.has("trouble.nvim") then
|
||||
map("n", "[q", vim.cmd.cprev, { desc = "Previous quickfix" })
|
||||
map("n", "]q", vim.cmd.cnext, { desc = "Next quickfix" })
|
||||
end
|
||||
map("n", "[q", vim.cmd.cprev, { desc = "Previous quickfix" })
|
||||
map("n", "]q", vim.cmd.cnext, { desc = "Next quickfix" })
|
||||
|
||||
-- formatting
|
||||
map({ "n", "v" }, "<leader>cf", function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue