mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2026-04-26 20:21:35 +00:00
[neovim] Add command to launch inlyne (markdown viewer)
This commit is contained in:
@@ -17,3 +17,7 @@ end, {})
|
||||
vim.api.nvim_create_user_command("SetSchema", function()
|
||||
require("schema-companion").select_schema()
|
||||
end, {})
|
||||
|
||||
vim.api.nvim_create_user_command("MarkdownViewer", function()
|
||||
vim.fn.jobstart("inlyne --scale 2 --theme dark " .. vim.fn.shellescape(vim.fn.expand("%:p")))
|
||||
end, {})
|
||||
|
||||
Reference in New Issue
Block a user