I did way too much in this one commit

Vimconf2021 inspired me a lot and I'm not done yet
This commit is contained in:
Fabian Schmidt
2021-11-26 23:38:04 +01:00
parent aa4d71c989
commit bebd4c1ff9
10 changed files with 250 additions and 124 deletions

View File

@@ -1,10 +1,8 @@
-- 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 'autocmd! User GoyoEnter Limelight'
vim.cmd 'autocmd! User GoyoLeave Limelight!'
vim.cmd'autocmd BufRead,BufNewFile *.wiki,*.md,*.tex set wrap'
vim.cmd 'command W :execute \':silent w !sudo tee % > /dev/null\' | :edit!'
vim.cmd'command W :execute \':silent w !sudo tee % > /dev/null\' | :edit!'