Added autocommands to toggle Limelight automatically

This commit is contained in:
Fabian Schmidt
2021-03-01 17:22:41 +01:00
parent c79fcf8678
commit 161cc068a2
4 changed files with 11 additions and 1 deletions

View File

@@ -3,3 +3,8 @@
-- 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!'