18 lines
369 B
Lua
18 lines
369 B
Lua
local M = {}
|
|
|
|
M.setup = function ()
|
|
require'core.options'
|
|
require'core.keybindings'
|
|
require'plugins'
|
|
|
|
-- implement the DiffOrig command (see :h :DiffOrig for more info)
|
|
vim.cmd([[
|
|
command DiffOrig vert new | set bt=nofile | set bufhidden | set pvw
|
|
\ | r # | 0d_ | diffthis | wincmd p | diffthis
|
|
command DiffOff diffoff | pc
|
|
]])
|
|
|
|
end
|
|
|
|
return M
|