NIVM/lua/core/commands.lua
2024-02-17 20:46:11 +00:00

7 lines
174 B
Lua

vim.cmd([[
command DiffOrig vert new | set buftype=nofile | set previewwindow | read ++edit # | 0d_ | diffthis | wincmd p | diffthis
command DiffOff diffoff | pclose
]])