Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f9545c9a5d | |||
| ed1b0297db |
+15
-4
@@ -949,6 +949,18 @@ local function makespec_gitsigns()
|
||||
}
|
||||
end
|
||||
|
||||
local function makespec_atone()
|
||||
return {
|
||||
"XXiaoA/atone.nvim",
|
||||
cmd = "Atone",
|
||||
opts = {
|
||||
ui = {
|
||||
compact = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
local function makespec_whichkey()
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
@@ -1105,9 +1117,8 @@ local function makespec_snacks()
|
||||
-- search
|
||||
{ "<F1>", function() Snacks.picker.help() end, desc = "Help Pages" },
|
||||
{ "<F9>", function() Snacks.picker.colorschemes() end, desc = "Colorschemes" },
|
||||
{ "<M-/>", function() Snacks.picker.git_grep() end, desc = "Grep Git Files" },
|
||||
{ "<leader>sg", function() Snacks.picker.git_grep() end, desc = "Grep Git Files" },
|
||||
{ "<M-?>", function() Snacks.picker.grep({ untracked = true }) end, desc = "Grep Files" },
|
||||
{ "<M-/>", function() Snacks.picker.git_grep({ ignorecase = true }) end, desc = "Grep Git Files" },
|
||||
{ "<leader>sg", function() Snacks.picker.git_grep({ ignorecase = true }) end, desc = "Grep Git Files" },
|
||||
{ "<leader>sa", function() Snacks.picker.grep({ untracked = true }) end, desc = "Grep Files" },
|
||||
{ "<leader>*", function() Snacks.picker.grep_word() end, desc = "Visual selection or word", mode = { "n", "x" }, },
|
||||
{ "<leader>/", function() Snacks.picker.search_history() end, desc = "Search History" },
|
||||
@@ -1504,7 +1515,6 @@ local lazyspecs = {
|
||||
{ "ethanholz/nvim-lastplace", opts = {} }, -- keep location upon reopening
|
||||
"tpope/vim-eunuch", -- Move, Rename etc
|
||||
"tpope/vim-sleuth", -- do the right thing with tabstop and softtabstop
|
||||
"mbbill/undotree",
|
||||
}
|
||||
for _, spec in ipairs({
|
||||
makespec_lazydev(), -- nvim lsp helpers
|
||||
@@ -1517,6 +1527,7 @@ for _, spec in ipairs({
|
||||
makespec_lint(),
|
||||
makespec_mason(),
|
||||
-- navigation
|
||||
makespec_atone(),
|
||||
makespec_whichkey(),
|
||||
makespec_smartsplits(),
|
||||
makespec_hlslens(),
|
||||
|
||||
Reference in New Issue
Block a user