added a load of nonsense and fixed the flake
This commit is contained in:
@@ -26,9 +26,18 @@ end
|
||||
|
||||
Keymap("i", "<C-BS>", "<C-W>") -- C-Backscpace for whole words
|
||||
|
||||
-- Open Lazygit
|
||||
Keymap("n", "<leader>l", function()
|
||||
Snacks.lazygit.open()
|
||||
end)
|
||||
|
||||
Keymap("n", "<leader>d", "<cmd>lua vim.diagnostic.open_float()<CR>") -- Diagnostics for Linter
|
||||
|
||||
-- Flash keymaps
|
||||
Keymap("n", "ss", function()
|
||||
require("flash").jump()
|
||||
end)
|
||||
Keymap("n", "S", function()
|
||||
require("flash").treesitter()
|
||||
end)
|
||||
Keymap("n", "<leader>r", function()
|
||||
require("flash").remote()
|
||||
end)
|
||||
Keymap("n", "<leader>R", function()
|
||||
require("flash").treesitter_search()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user