theonepath.nvim/lua/core/init.lua
2024-10-02 17:27:37 +01:00

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