👁️🗨️ Which-key Update
- Implement the new which-key spec - Particularly: ICONS!
This commit is contained in:
@@ -9,25 +9,25 @@ return {
|
||||
"<leader>cy",
|
||||
"<cmd>CodeSnap<cr>",
|
||||
mode = "x",
|
||||
desc = " Save selected code snapshot into clipboard",
|
||||
desc = "Save selected code snapshot into clipboard",
|
||||
},
|
||||
{
|
||||
"<leader>cs",
|
||||
"<cmd>CodeSnapSave<cr>",
|
||||
mode = "x",
|
||||
desc = " Save selected code snapshot in ~/Pictures",
|
||||
desc = "Save selected code snapshot in ~/Pictures",
|
||||
},
|
||||
{
|
||||
"<leader>ch",
|
||||
"<cmd>CodeSnapHighlight<cr>",
|
||||
mode = "x",
|
||||
desc = " Highlight and snapshot selected code into clipboard",
|
||||
desc = "Highlight and snapshot selected code into clipboard",
|
||||
},
|
||||
{
|
||||
"<leader>ci",
|
||||
"<cmd>CodeSnapASCII<cr>",
|
||||
mode = "x",
|
||||
desc = " Save ASCII code snapshot into clipboard",
|
||||
desc = "Save ASCII code snapshot into clipboard",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
|
||||
+7
-1
@@ -4,7 +4,13 @@
|
||||
|
||||
return {
|
||||
"chrishrb/gx.nvim",
|
||||
keys = { { "gx", "<cmd>Browse<cr>", mode = { "n", "x" } } },
|
||||
keys = {
|
||||
{
|
||||
"gx",
|
||||
"<cmd>Browse<cr>",
|
||||
mode = { "n", "x" },
|
||||
}
|
||||
},
|
||||
cmd = { "Browse" },
|
||||
init = function()
|
||||
vim.g.netrw_nogx = 1 -- disable netrw gx
|
||||
|
||||
@@ -6,11 +6,9 @@ return {
|
||||
"ziontee113/icon-picker.nvim",
|
||||
config = function()
|
||||
require("icon-picker").setup({ disable_legacy_commands = true })
|
||||
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
||||
vim.keymap.set("n", "<Leader><Leader>i", "<cmd>IconPickerNormal<cr>", opts)
|
||||
vim.keymap.set("n", "<Leader><Leader>y", "<cmd>IconPickerYank<cr>", opts) --> Yank the selected icon into register
|
||||
vim.keymap.set("n", "<Leader>Ii", "<cmd>Pick Icon<cr>", opts)
|
||||
vim.keymap.set("n", "<Leader>Iy", "<cmd>Yank Icon<cr>", opts)
|
||||
vim.keymap.set("i", "<C-i>", "<cmd>IconPickerInsert<cr>", opts)
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -11,13 +11,10 @@ return {
|
||||
"LazyGitFilter",
|
||||
"LazyGitFilterCurrentFile",
|
||||
},
|
||||
-- optional for floating window border decoration
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||
-- order to load the plugin when the command is run for the first time
|
||||
keys = {
|
||||
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = " LazyGit" },
|
||||
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ return {
|
||||
require("rip-substitute").sub()
|
||||
end,
|
||||
mode = { "n", "x" },
|
||||
desc = " rip substitute",
|
||||
desc = "Rip Substitute",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user