Merge remote-tracking branch 'refs/remotes/origin/nixos' into nixos
This commit is contained in:
commit
8d5300682c
1 changed files with 23 additions and 2 deletions
|
@ -21,8 +21,16 @@ with builtins;
|
||||||
plugin = trouble-nvim;
|
plugin = trouble-nvim;
|
||||||
cmd = [ "TodoTelescope" ];
|
cmd = [ "TodoTelescope" ];
|
||||||
keys = [
|
keys = [
|
||||||
{ key = "<leader>cD"; cmd = "<cmd>TroubleToggle document_diagnostics<cr>"; desc = "Document Diagnostics (Trouble)"; }
|
{
|
||||||
{ key = "<leader>cW"; cmd = "<cmd>TroubleToggle workspace_diagnostics<cr>"; desc = "Workspace Diagnostics (Trouble)"; }
|
key = "<leader>cD";
|
||||||
|
cmd = "<cmd>TroubleToggle document_diagnostics<cr>";
|
||||||
|
desc = "Document Diagnostics (Trouble)";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>cW";
|
||||||
|
cmd = "<cmd>TroubleToggle workspace_diagnostics<cr>";
|
||||||
|
desc = "Workspace Diagnostics (Trouble)";
|
||||||
|
}
|
||||||
{ key = "<leader>cl"; cmd = "<cmd>TroubleToggle loclist<cr>"; desc = "Location List (Trouble)"; }
|
{ key = "<leader>cl"; cmd = "<cmd>TroubleToggle loclist<cr>"; desc = "Location List (Trouble)"; }
|
||||||
{ key = "<leader>cq"; cmd = "<cmd>TroubleToggle quickfix<cr>"; desc = "Quickfix List (Trouble)"; }
|
{ key = "<leader>cq"; cmd = "<cmd>TroubleToggle quickfix<cr>"; desc = "Quickfix List (Trouble)"; }
|
||||||
{ key = "<leader>ft"; cmd = "<cmd>TodoTelescope<cr>"; desc = "Todo"; }
|
{ key = "<leader>ft"; cmd = "<cmd>TodoTelescope<cr>"; desc = "Todo"; }
|
||||||
|
@ -188,8 +196,21 @@ with builtins;
|
||||||
{ key = "<leader>ff"; cmd = "<cmd>Telescope find_files<cr>"; desc = "Find files"; }
|
{ key = "<leader>ff"; cmd = "<cmd>Telescope find_files<cr>"; desc = "Find files"; }
|
||||||
{ key = "<leader>fb"; cmd = "<cmd>Telescope buffers<cr>"; desc = "Find buffers"; }
|
{ key = "<leader>fb"; cmd = "<cmd>Telescope buffers<cr>"; desc = "Find buffers"; }
|
||||||
{ key = "<leader>fl"; cmd = "<cmd>Telescope current_buffer_fuzzy_find<cr>"; desc = "Search lines"; }
|
{ key = "<leader>fl"; cmd = "<cmd>Telescope current_buffer_fuzzy_find<cr>"; desc = "Search lines"; }
|
||||||
|
{
|
||||||
|
key = "<leader>fl";
|
||||||
|
cmd = "y<ESC>:Telescope current_buffer_fuzzy_find default_text=<c-r>0<CR>";
|
||||||
|
desc = "Search lines (selection)";
|
||||||
|
mode = [ "v" ];
|
||||||
|
}
|
||||||
{ key = "<leader>fg"; cmd = "<cmd>Telescope live_grep<cr>"; desc = "Live grep"; }
|
{ key = "<leader>fg"; cmd = "<cmd>Telescope live_grep<cr>"; desc = "Live grep"; }
|
||||||
|
{
|
||||||
|
key = "<leader>fg";
|
||||||
|
cmd = "y<ESC>:Telescope live_grep default_text=<c-r>0<CR>";
|
||||||
|
desc = "Live grep (selection)";
|
||||||
|
mode = [ "v" ];
|
||||||
|
}
|
||||||
{ key = "<leader>fh"; cmd = "<cmd>Telescope help_tags<cr>"; desc = "Help tags"; }
|
{ key = "<leader>fh"; cmd = "<cmd>Telescope help_tags<cr>"; desc = "Help tags"; }
|
||||||
|
{ key = "<leader>fr"; cmd = "<cmd>Telescope oldfiles<cr>"; desc = "Recent files"; }
|
||||||
];
|
];
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ plugin = plenary-nvim; }
|
{ plugin = plenary-nvim; }
|
||||||
|
|
Loading…
Reference in a new issue