mirror of
https://github.com/zoriya/flake.git
synced 2025-12-20 05:25:19 +00:00
Add other cool stuff to vim
This commit is contained in:
@@ -94,16 +94,6 @@ return {
|
||||
noremap = false,
|
||||
})
|
||||
|
||||
-- TODO: Moves this to the settinsg.lua file and use the standard way
|
||||
wk.register({
|
||||
y = { "Yank to system clipboard" },
|
||||
Y = { "Yank line to system clipboard" },
|
||||
p = { "Past from system clipboard" },
|
||||
P = { "Past line from system clipboard" },
|
||||
}, {
|
||||
prefix = "<leader>",
|
||||
})
|
||||
|
||||
wk.register({
|
||||
mode = { "n", "v" },
|
||||
["g"] = { name = "+goto" },
|
||||
@@ -158,4 +148,17 @@ return {
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
keys = {
|
||||
{ "<leader>ld", "<cmd>Trouble document_diagnostics<cr>", "Document Diagnostics" },
|
||||
{ "<leader>lw", "<cmd>Trouble workspace_diagnostics<cr>", "Workspace Diagnostics" },
|
||||
{ "<leader>lt", "<cmd>TroubleToggle<CR>", "Toogle trouble window" },
|
||||
},
|
||||
opts = {
|
||||
auto_close = true,
|
||||
min_severity = "Warning",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user