nvim/lua/commands.lua

11 lines
326 B
Lua
Raw Normal View History

-- commands.lua
-- autocmd! User GoyoEnter Limelight
-- autocmd! User GoyoLeave Limelight!
-- command W :execute ':silent w !sudo tee % > /dev/null' | :edit!
vim.cmd 'autocmd! User GoyoEnter Limelight'
vim.cmd 'autocmd! User GoyoLeave Limelight!'
vim.cmd 'command W :execute \':silent w !sudo tee % > /dev/null\' | :edit!'