Added snacks to display images in nvim (needs ghostty)
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
"pretty_hover": { "branch": "master", "commit": "620aa2f9b626784efe44f515905181381d167d44" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "642222acbab66d56727ac0f38d9432649a479ed4" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "e9c5aaba16fead831379d5f44617547a90b913c7" },
|
||||
"snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
|
||||
"spring-boot.nvim": { "branch": "main", "commit": "218c0c26c14d99feca778e4d13f5ec3e8b1b60f0" },
|
||||
"sqls.nvim": { "branch": "main", "commit": "d1bc5421ef3e8edc5101e37edbb7de6639207a09" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
||||
|
||||
20
.config/nvim/lua/custom/plugins/snacks.lua
Normal file
20
.config/nvim/lua/custom/plugins/snacks.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
'folke/snacks.nvim',
|
||||
---@type snacks.Config
|
||||
opts = {
|
||||
image = {
|
||||
-- your image configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
'<leader>si',
|
||||
function()
|
||||
require('snacks').image.hover()
|
||||
end,
|
||||
},
|
||||
},
|
||||
lazy = false,
|
||||
}
|
||||
@@ -83,6 +83,7 @@
|
||||
libisoburn
|
||||
ncdu
|
||||
imagemagick
|
||||
ghostscript # for imagemagick to support pdf files
|
||||
xxd
|
||||
gnome-clocks
|
||||
duf
|
||||
|
||||
Reference in New Issue
Block a user