You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
529 B

nukevim = require('nukevim'):new()
nukevim:enableCaching()
nukevim:initialize()
nukevim:run()
vim.api.nvim_create_autocmd("VimResized", {
command = "lua nukevim:gui()"
})
-- Should be able to do this with vim.api.nvim_add_user_command but
-- that doesn't seem to exist for some reason
vim.cmd[[ command! NukeVimInstall :lua nukevim:install() ]]
-- Include a vimscript file so you can use all of this without having to migrate
-- literally everything day 1.
vim.cmd('source ' .. vim.env.MYVIMRC:sub(1, -9) .. 'startup.vim')