2021-02-24 20:52:43 +01:00
|
|
|
-- commands.lua
|
|
|
|
|
2021-11-26 23:38:04 +01:00
|
|
|
vim.cmd'autocmd! User GoyoEnter Limelight'
|
|
|
|
vim.cmd'autocmd! User GoyoLeave Limelight!'
|
2021-03-01 17:22:41 +01:00
|
|
|
|
2021-11-26 23:38:04 +01:00
|
|
|
vim.cmd'autocmd BufRead,BufNewFile *.wiki,*.md,*.tex set wrap'
|
2021-03-01 17:22:41 +01:00
|
|
|
|
2021-11-26 23:38:04 +01:00
|
|
|
vim.cmd'command W :execute \':silent w !sudo tee % > /dev/null\' | :edit!'
|