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