mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat(nvim): add chafa plugin to preview images in the Terminal
This commit is contained in:
10
nvim/after/plugin/chafa.lua
Normal file
10
nvim/after/plugin/chafa.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
-- https://github.com/princejoogie/chafa.nvim
|
||||
require("chafa").setup({
|
||||
render = {
|
||||
min_padding = 5,
|
||||
show_label = true,
|
||||
},
|
||||
events = {
|
||||
update_on_nvim_resize = true,
|
||||
},
|
||||
})
|
||||
@@ -4,10 +4,12 @@
|
||||
"LuaSnip": { "branch": "master", "commit": "5570fd797eae0790affb54ea669a150cad76db5d" },
|
||||
"VisIncr": { "branch": "master", "commit": "13e8538cf332fd131ebb60422b4a01d69078794b" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "21a0f2520ad3a7c32c0822f943368dc063a569fb" },
|
||||
"baleia.nvim": { "branch": "main", "commit": "af6a17b21336599df8f17a8c1186b414330b8b44" },
|
||||
"base16-vim": { "branch": "master", "commit": "3be3cd82cd31acfcab9a41bad853d9c68d30478d" },
|
||||
"blamer.nvim": { "branch": "master", "commit": "f4eb22a9013642c411725fdda945ae45f8d93181" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "c7492a76ce8218e3335f027af44930576b561013" },
|
||||
"catppuccin": { "branch": "main", "commit": "3020af75aae098a77737d91ee37c7147c8450d99" },
|
||||
"chafa.nvim": { "branch": "main", "commit": "90759721291b19abb00849ac0af407c207be8457" },
|
||||
"cheat.sh-vim": { "branch": "master", "commit": "e0fe468d872025477462ac5d96432f5c1aee3a0d" },
|
||||
"cheatsheet.nvim": { "branch": "master", "commit": "9716f9aaa94dd1fd6ce59b5aae0e5f25e2a463ef" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
|
||||
@@ -154,6 +154,7 @@ local plugins = {
|
||||
"dhruvasagar/vim-table-mode", -- Markdown table mode
|
||||
"vim-pandoc/vim-pandoc", -- Pandoc
|
||||
"vim-pandoc/vim-pandoc-syntax", -- Pandoc syntax
|
||||
{ "princejoogie/chafa.nvim", dependencies = { "nvim-lua/plenary.nvim", "m00qek/baleia.nvim" } }, -- Preview images in terminal
|
||||
|
||||
-- Custom Text Objects
|
||||
"chrisgrieser/nvim-various-textobjs", -- Various text objects
|
||||
|
||||
Reference in New Issue
Block a user