in-your-face.mp4
return {
"Wordluc/in-your-face.nvim",
config=function ()
vim.api.nvim_create_user_command('Try', function()
local opt={
windows={
x=vim.fn.winwidth(0)-48,
y=0
},
}
require("in-your-face").setup(opt);
end, { bang = true, nargs = '*' })
vim.api.nvim_create_user_command('DoomFaceKill', function()
require("in-your-face").close();
end,{ bang = true, nargs = '*' })
end
}
errors = 0 | normal | ![]() |
---|---|---|
errors < 3 | injured | ![]() |
errors < 5 | more injured | ![]() |
errors >= 5 | max injured | ![]() |
Allow to select your own faces for each errors range.
If you wanna do it now you have to overwrite the files doom-guy-...txt
, you can use a golang program (inside the go directory) where you have to specify what image convert and where put the result.
go run . "/home/foo/Downloads/11.png" "../doom-guy-injured.txt"
.
The size of the image has to be 48x32